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
"to equal" is different from "to become", the problem is that your answer is not equal to the expected answer.
next you'll want to find out what the input was.
I cant figure out why this is expected - 'foobar0100' to equal 'foobar100'
Based off the question examples shouldnt 'foobar0100' to equal 'foobar0101' or am I being extremely dense.
It would be nice to add some random tests for JS
Yeap)
Almost a one-liner
you dont need bignumbers.
Just write the strings one below the other like in school and add the individual digits, overflowing to the next number.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is reassigning the argument really a best practice?
Completely forgot about case insensitive match flag, shame on me.
Thank you! Showing on screen the content of the Strings of the 'randomTest' I was able to find out where I was making the mistake.
It means you failed the random tests, that isn't an issue.
There are the both sample tests and then the final tests, you have to pass both.
If the output doesn't show the test you fail, just print out the function arguments.
Loading more items...