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.
Printing the input: https://docs.codewars.com/training/troubleshooting#print-input
Sample tests are just that, a sample, it won't show all edge test cases.
Okay but still it's an bad kata as the attemps don't show any empty string to try. So how would you know what is wrong.
They don't return the same for empty string as you claim, and that obviously is not a digit. You're wrong.
This comment is hidden because it contains spoiler information about the solution
Thanks!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I am having a hard time understanding that, can you please explain how it works without "=== 0".
Thanks!
First it didn't even work with reset. After some time I checked again, then it worked.
Did you click
Reset
? Does that happen with the sample tests, the attempt tests or both?I gave up and paste the solution from solution, still show STDERR. what to do?
Make sure you didn't mess up the sample tests, backup your code, click
Reset
, paste it and try again./workspace/node/test.js:32
};
^
SyntaxError: missing ) after argument list
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile
i am getting STDERR: every time with different approach. Can anyone help?
Loading more items...