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.
cheater
😂😁😂😁😁
WTF no way it was this easy
Sweet thank you, I have never used this for my persona projects.
I gotta research more regular expression it seems.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Great solution! Many other solutions seem to return
-0
but not this one.Nice!
short and efficient
oh, beauty!
LOL I completely forgot about this.
I don't think this is in the spirit of this Kata, though.
This comment is hidden because it contains spoiler information about the solution
edit: Nevermind, you're right it says it's part of ECMAScript 2016
That's an old article. This feature is a part of ECMAScript 2016.
Above is experimental API that should not be used in production code.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment_operators