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.
genius
very cool bro
It casts float number to integer, so you get the whole result.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Your JS engine is broken. It doesn't seem to be following operator precedence.
|0
would be flooring that18.04
to18
.Or... the more likely explanation is that you did not copy the entire solution when you went to test it...
Which bit is complicated?
Why complicate things even where you shouldn't?How come people voted this as a best practice
Oh right, I didn't know :P.
Yes it does
EDIT: No it doesn't :P
Doesnt work for the year 248993559122 :p