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.
Ah got it! Thanks for clarifying this point! :)
That doesn't necessarily mean they are correct. Also, take a look at this:
Expected: '['NORTH', 'WEST', 'SOUTH', 'EAST']', instead got: '[]'
Unless I misunderstood the problem -- and please do point it out if I have -- the correct result for the input ['NORTH', 'WEST', 'SOUTH', 'EAST'] is, in fact, []. Or is it not?
The tests for JS are not correct. For instance, it might say "Expecting ["WEST", "NORTH"], instead got ["NORTH" ,"WEST"]". This happens even if the first instance of "NORTH" comes before the first instance of "WEST" in the argument variable. Frustrating.
According to the requirements the output is correct, however, they are not passing the expected values for the test.