diff --git a/README.md b/README.md index addc66f6..0eecec4f 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,7 @@ five.discography(); //['5ive', 'Invincible', 'Kingsize'] five.singles(); //['Slam Dunk (Da Funk)', 'When the Lights Go Out', 'Got the Feelin\'', 'Everybody Get Up', 'It\'s the Things You Do', 'Until the Time Is Through', 'If Ya Gettin\' Down', 'Keep On Movin\'', 'Don\'t Wanna Let You Go', 'We Will Rock You', 'Let\'s Dance', 'Closer to Me', 'Rock the Party', 'I Wish It Could Be Christmas Everyday'] five.famous(); // ['Julian', 'Dick', 'George', 'Anne', 'Timmy'] five.fiveFiveFive(); // 'Interstella 5555: The 5tory of the 5ecret 5tar 5ystem' +five.nightsAtFreddys(); // 'FIVE NIGHTS AT FREDDYS' ``` ##### Rotation diff --git a/five.js b/five.js index 90507e66..d1c1a276 100755 --- a/five.js +++ b/five.js @@ -179,6 +179,9 @@ five.luniz = function() { return "I Got " + five() + " on It"; } + five.nightsAtFreddys = function(){ + return five.loud() + " NIGHTS AT FREDDYS" + } five.funk = function(){ return five() + " bad boys with the power to rock you" diff --git a/test.js b/test.js index 63ee6cc8..b1e26b01 100755 --- a/test.js +++ b/test.js @@ -129,6 +129,8 @@ assert.equal(five.luniz(), 'I Got 5 on It', 'A Luniz five should be the song tit assert.equal(five.funk(), '5 bad boys with the power to rock you', 'A funked five should be a group of bad boys with the power to rock you'); +assert.equal(five.nightsAtFreddys(), 'FIVE NIGHTS AT FREDDYS', 'A game that is really popular for some reason' + assert.equal(true, five.isFive(five())); assert.equal(false, five.isFive(10));