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.
Nice code. Lot simpler than mine, even though uses the same process!
Nicely done!
Very concise. Love it.
You're better now than you were before. That's all that matters. Repeat every day.
To clarify ,
==
(equality operator) in JavaScript will convert types when comparing.For example,
return 5 = '5'
will returntrue
even though it is comparing a number and a string.This is because JavaScript will convert them to the same type when comparing.
Using
===
(strict equality operator) will not convert type so the above example would returnfalse