From 46812796de08a4db552e111edfecca1da47e4eb4 Mon Sep 17 00:00:00 2001 From: Dan Putman <57899154+dan-codacy@users.noreply.github.com> Date: Wed, 22 Sep 2021 08:51:50 -0400 Subject: [PATCH] Update fizzbuzz.js --- javascript/src/fizzbuzz.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/javascript/src/fizzbuzz.js b/javascript/src/fizzbuzz.js index f277d86..306f40d 100644 --- a/javascript/src/fizzbuzz.js +++ b/javascript/src/fizzbuzz.js @@ -5,6 +5,8 @@ module.exports = function(input) { if(input % 5 === 0) output += 'Buzz' if(input % 99 === 0) output += 'Strange' + if(input % 101 === 0) output += 'Even Stranger' + return output.length > 0 ? output : input -} \ No newline at end of file +}