Ad
  • Custom User Avatar

    I'm sorry, but how to solve this issue?
    Couldn't find the answer

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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...

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Same issue!
    How to fix it?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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?

  • Custom User Avatar

    THKS! problem was only in n = 12

  • Custom User Avatar

    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