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.
Read the instructions again (I've modified them).
guys I am failing one test, third from botton on dangerous inputs
If the 2 values are the same type the
'
aren't shown.Solved. I appreciate it, thanks. PS. In console.log I got 2 and 3 as numbers — not '2' and '3'
Your problem is with 2 and 3 being strings. That way of testing if something is a number is strange.
This comment is hidden because it contains spoiler information about the solution
Done.
The Kata description says
not MUST be strings, there is a test where the button is a number and causes the test to fail if you return anything but 0. Please correct this in the description