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.
The easiest is probably to use JSON.stringify as says B1ts. You can also try with Array.prototype.every()..., but with a 2d array (or more) it's not comfortable.
You should look it up on some search engine :P One way is to use JSON.stringify() to convert an array/object to string representation, and strings you can compare with ===
What's the correct way to check for this case then?
Not a kata issue anyway.
Because you can't compare arrays like that in JS, the references are different in this case.
Not a kata issue.
Can't even get started here because an if statement for array === [ [] ] never fires... anyone know why this is?
I'm passing in exactly what console.log spits out and it never runs the block.