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.
This comment is hidden because it contains spoiler information about the solution
Chrono79, oh, I don't know yet how exactly spoiler flags work, but next time i will use one :D. Sorry!
This comment is hidden because it contains spoiler information about the solution
{'0':'O','5':'S','1':'I'} is an object, let's call it symbolObj.
let symbolObj = {'0':'O','5':'S','1':'I'};
As you see, the map method will return symbolObj[a] or a.
So if a is 0, 5 or 1 it will be true and will return the correspondent symbol from the object. Otherwise, it will be false and the returned value will be a.
I'm beginner, so i don't know if i explained it very well but i hope i helped you.