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 "real world use", I think a string without an hash should be tested as well:
check('www.codewars.com', 'www.codewars.com')
This comment is hidden because it contains spoiler information about the solution
It has nothing to do with having to write everything from scratch.
ROTFL!
This comment is hidden because it contains spoiler information about the solution
Crazy initialization by 9007199254740992 ... 😆
This comment is hidden because it contains spoiler information about the solution
I like this solution. Few and performant code! Well done.
I like it.
Nevertheless one should notice that substr() is marked as deprecated:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr