Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modulo 3 and 5 is modulo 15

  • Loading branch information...
commit 52de22f909e738bc93e328296f8eefccb155d543 1 parent 7e60c29
@aelgru authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/FizzBuzz.js
View
2  src/FizzBuzz.js
@@ -1,5 +1,5 @@
exports.answer = function (number) {
- if (number % 3 === 0 && number % 5 === 0) {
+ if (number % 15 === 0) {
return 'fizzbuzz';
}
Please sign in to comment.
Something went wrong with that request. Please try again.