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.
I just happened to see some examples of how this function worked yesterday otherwise my code would've been a lot longer im sure 😅
Thank you for this! took my understanding of parseInt a step further. Awesome.
easiest way to do it
this parseInt odd behavior was probably implemented in such way only because of this Kata
work when the string starts with numeric
Thanks for the solution. I have learnt something new (can simply pass 'inputString' into the argument of parseInt without a reference to the index of the age number). Thanks so much!!
Print the inputs.
Ohh, makes sense. Thanks!
This comment is hidden because it contains spoiler information about the solution
Can somebody explain to me how this works? I'm not sure how the parseInt method could
distinguish the string number itself.
Sorry I'm not a "normal" person
Really enjoyed the Kata. Needed to refresh on basic js methods and this helped a lot.
Help us help you. When posting code, mark it up as code.
You have hit on the essence of the kata. I see no way to help you without giving it away completely. Maybe someone else does.
Click reset, the sorting part was removed. Check the new initial code, you'll have to fix it so the random tests don't fail.
I can't disclose more without giving up the solution but while the code works outside CW, it'll fail here (that's the task you have to do here).
This comment is hidden because it contains spoiler information about the solution
Loading more items...