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.
I am jealous
wow nice brain
oh,It's great!
clean!
ahahahaha
This works for me:
:w
in normal modeWhat about NaN?
Vim shortcuts?
Submit code:
:w
Run examples: ???
Yeah, but... not in the spirit of the exercise, or that doesn't matter?
Very simple.
Hah awesome :D
thanks that was throwing me off i thought i had to code for that. Either way it was fairly simple but I enjoyed the kata. Thanks.
This comment is hidden because it contains spoiler information about the solution
how does this handle division by 0? Does it return NaN by default?
some()
returns a boolean,forEach()
does not return a value. Areturn
can be added as a seccond line.Loading more items...