From 84490f14cef3a539b5a019719c1ee2da232bfd29 Mon Sep 17 00:00:00 2001 From: Ollie <35780647+OlisaOmekam@users.noreply.github.com> Date: Mon, 27 Jan 2020 15:02:11 -0600 Subject: [PATCH 1/3] Update five.js added five.nightsAtFreddys --- five.js | 3 +++ 1 file changed, 3 insertions(+) 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" From 8c8f66626731a1550347f5dcac585052349270cb Mon Sep 17 00:00:00 2001 From: Ollie <35780647+OlisaOmekam@users.noreply.github.com> Date: Mon, 27 Jan 2020 15:08:34 -0600 Subject: [PATCH 2/3] Added Test for Five nights at freddys --- test.js | 2 ++ 1 file changed, 2 insertions(+) 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)); From aa2117f9e083f494ba8815c3a3499f6c09645e61 Mon Sep 17 00:00:00 2001 From: Ollie <35780647+OlisaOmekam@users.noreply.github.com> Date: Mon, 27 Jan 2020 15:10:07 -0600 Subject: [PATCH 3/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) 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