Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Good 8 kyu kata
What did you search for? FizzBuzz?
Added.
It's still a fizzbuzz.
Does seem a little odd to me that //comments seem to add to the char total.
That said, without the comments, this could pretty easily be dropped to a 75-80 char limit without giving people much trouble... can do it without putting it all on one line, too.
There is no such concept as "compiled" in JS ;-)
If I remember well, the character count for JS is done on the compiled code, not the user's code. That's why. So a note about that in the description could effectively be handy...
not an issue,you can make it suggestion.
This "100 characther" rule need to be reviewd.
First: I put my code in chrome and it gives length = 76. But here, the count is 97!
I'm not a fan of oneline codes, otherwise, i like this kata. (Just need to improove this characther rule, maybe rising to 150).
The official test is ok.
Try print the bill value and you'll see your error.
Needs random test cases :(
I've searched here and i did not found a similar kata.
There are numerous duplicates, just search for 'FizzBuzz'.
UPD Well, actually, there might not be exactly filtering an array with constant divisors, so IDK if this should be considered a duplicate...