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.
oh i forget about the i flag (Ignore Casing)
It's just the opposite.
It took me a few min to realise that its a good one haha
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Dont mean to burden with this simple operation but I'm left a bit confused on the !(weight % 2) can someone shed some light on this...
No kidding
Clever but I'd say this is cheating
Seems that this solution can't be used like a common solution, see tests here http://stackoverflow.com/a/34466248/3429127.
That means that you should avoid usage of ">" and "<" in comparator.
Just want to notice that JS native sort method affects on initial array.
If we want that list argument stays the same we need to make a copy of it inside the function (e. g. using slice()).
Thank you very much for the clue.
It's a usage of template strings, which are also new in ES6. In this instance, it presents an alternative way to concatenate variables and strings together. Undefined variables will still be coerced to the string "undefined".
Can someone please explain or give documentation on the braces around the property ?
${this.name}
Something to handle undefined strings maybe ?
Realization: Programmers are super-lazy.
Must. Become. Lazy.
+1 Like!
nice, I missed information about two dimensional space.
Loading more items...