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.
I'm sorry, but how to solve this issue?
Couldn't find the answer
This comment is hidden because it contains spoiler information about the solution
What's happening?
I've got a "ReferenceError: console is not defined" like this:
Passed: 5 Failed: 0 Exit Code: 1
/runner/frameworks/javascript/display.js:55
console.log("\n<" + type.toUpperCase() + ":" + mode + ":" + label + ">" + msg);
^
ReferenceError: console is not defined
at Object.write (/runner/frameworks/javascript/display.js:55:3)
at Object.handleError (/runner/frameworks/javascript/cw-2.js:244:22)
and etc...
This comment is hidden because it contains spoiler information about the solution
Same issue!
How to fix it?
This comment is hidden because it contains spoiler information about the solution
I've got uncorrect tests results for random angle == 28.91971271681733 in JavaScript:
expected '00:57' to equal '12:57'
From the description we can't get time over then 12:00, so for 0 < angle < 30 hours should be 00, not 12.
Or my thoughts are false?
THKS! problem was only in n = 12
Guys, what does it mean? Where is my mistake? (my solution without try/catch, I used if/else)
All other tests were passed.
Maybe code throws the RangeError and this error is counting like mistake in tests?
RangeError: n must be less than 12 and more than 0
at factorial
at testCases
at testCases.forEach.v
at Array.forEach
at /home/codewarrior/index.js:85:11
at /home/codewarrior/index.js:86:5
at Object.handleError
[eval]:1:1