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.
bro might just be a genius
hahaahhahahahahahahahahahahaahah 😂
🤣
it's too easy for 4kyu
You didn't pass all the tests. Your code crashes because it tries to do something like
item[0]
, whereitem
isundefined
, and Javascript isn't happy with that.hey i pass all the tests but i receive this msg any help ?
Test Passed: Value == 0
TypeError: Cannot read property '0' of undefined
at Object.Math.round
at /home/codewarrior/index.js:48:28
at begin
at it
at /home/codewarrior/index.js:46:3
at /runner/frameworks/javascript/cw-2.js:152:11
at Promise._execute
at Promise._resolveFromExecutor
at new Promise
at describe
at /home/codewarrior/index.js:45:5
at /home/codewarrior/index.js:76:5
at Object.handleError
See where the closing quote is, there you have 3 digits and a newline char.
passed all except for these
Wrong output for '123
': expected true to equal false
idk where is the bug ?!