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.
What matt c meant is that on CodeWars, the code you submit is compiled on the server side. However, when you paste in your browser's console the code, that gets executed at the client side by your browser, which doesn't support this feature yet. It will in the near future ;)
The code is handled server side with the Babel compiler I believe so your browser shouldn't be the problem maybe it's your syntax?
The
=>
is an arrow function introduced in the new JS ES6.HERE is some documentation on the new Arrow functions and how they work :)