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.
Because he can do it, naming function's arguments whatever he wants. JS allows it
I know thank you
when you are paid by the hour
overkill, but cool
naming conventions should be followed, code should be readable. using e and v is very obfuscated
nobody is going to understand what's happening here, this gives the impression the comparision is between numbers, absolutely should not be used in production imho. its just for fun and curiosity
im guessing people just blindly click the upvotes just because its at the top
why would you use a dollar sign there? why!!
Loops are "better" than recursive function, i did this because i felt like writing a recursive function
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag.
This comment is hidden because it contains spoiler information about the solution
unused $a variable
no need for an else block here though, just return true outside the if block, just nitpicking :P