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.
For those who may want to read more into the differences between
slice
,substring
, andsubstr
:https://stackoverflow.com/a/31910656
Lol. This is really clever! Wonder what execution time would look like.
I've never thought that this as well as
'' + b
converts the variable to String. And it does. Even withnull
,undefined
andNaN
as a value of variable.Nice one!
I don't believe I would have ever thought of this. Nice.
Very Nice