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.
Error: kata.js: Unexpected token, expected ( (10:5)
?
Java translation added.
Should be 8kyu from a JS perspective, tbh
You are returning
"42 undefined"
when you should be returning"42 42"
. It is likely the test that input only one number,highAndLow("42")
.Expected: '42 42', instead got: '42 undefined'
What is this...tried two different methods and still the same rejection on Javascript?