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.
And the award of the most time spent on one single Kata goes to
Champ-ifif
:DDefinitely voting hardworking
This comment is hidden because it contains spoiler information about the solution
Also, this solution is at least 10 years old, maybe arrow function didn't exist back there. ES6 was released in 2015.
1- .split('') method splits a string into an array of strings
exemple : "hello".split('') ==> Output : ['h','e','l','l','o']
2- .reverse() method to reverse order of an array
===> Output : ['o','l','l','e','h']
3- .join('') is to combine elements of an array into one single string and return it
===> Output : 'olleh'