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.
wow i just saw that, of course message from test -> "Function must return a string value: expected NaN to equal '5'" refers to my handling of the empty strings. There was a conflict in my head where statement says clear integers from [0-9], but test requires a not NaN return when an empty string passes. Thank you!
wow i just saw that, of course message from test -> "Function must return a string value: expected NaN to equal '5'" refers to my handling of the empty strings there. It just was a conflict in my head where statement says clear integers from [0-9], but test requires a not NaN return when an empty string passes. Thank you!
This comment is hidden because it contains spoiler information about the solution
Javascript, also tried my solution in https://www.codewars.com/kata/525f4206b73515bffb000b21 as they say its duplicated and it works there
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution