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.
thank you :)
Because u cannot modify a string (immutable), you must convert it to array first!!! Read this for more info
This comment is hidden because it contains spoiler information about the solution
if still facing difficulty search Dave Gray on youtube to understand "prototypical" inheritance in js.
And read about "this" keyword.
i learnt a lot out of this kata. This one was clever . Could not solve all the test cases but had to see the solution and realised how simply it can be done. Thanks for expanding my mind :)
haha. Yup this advise helped me a lot. Was struggling but then i noticed i ignored the complete instruction.