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.
Yes, I had a problem where I tried to do the exact same way, but I was encountering problems because my keys weren't going in order.
Relying on non-standard engine behavior can not guarantee you anything at all. If tomorrow V8 devs decide to introduce some optimizations that break this rule - your code is broken as well. Standards are being created with a purpose.
As for 2nd, more lines of code is not the sign of bad code - we write code for humans, not for the machines. If your code is tough for human to understand - it's a bad code.
This comment is hidden because it contains spoiler information about the solution
Not bad, actually, but formatting and variables names are awful :(
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Awesome! Really cool pattern of always returning an undo function and adding it to the opposite list, nice work