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.
This comment is hidden because it contains spoiler information about the solution
Probably this:
Helps him put multiple statments on same line. Not the best practice.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it results in either 0 or 1 ~ and those are as truthy as it gets without being literal Booleans
When it's not 0.
Like getting your head smashed in by a solid gold bar with a slice of lemon wrapped around it?
This comment is hidden because it contains spoiler information about the solution
You mean it feels like being padlocked in a box and sawed in half?
Those methods use a callback function and the first one might be useful here and the other one isn't. It's easier this way.