Good Kata. I understood what "method" to use almost right away, but wasnt able to make it work from the first time. It means I have to learn it better...
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...
Forked to add a test to make sure no other sneakily-renamed properties are on the returned object, per the description
JS and CS: No sample tests
Good Kata. I understood what "method" to use almost right away, but wasnt able to make it work from the first time. It means I have to learn it better...
Thanks a lot! I didn't understand whats a problem, your comment helped me!
Thank u. I spent a lot of time solving this problem
The same problem. How have you solved it?
the basic test does not work, the solution was counted only after clicking on the "attempt" button
I'm sorry, but how to solve this issue?
Couldn't find the answer
Duplicate issue.
Duplicate issue.
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...
Same issue!
How to fix it?
Yeah, it's too easy for 6 kyu.
It should be stated in the description that the returned object shouldn't have a key with the name of "secret".
Oh, I didn't realize I'm using closure, lol.
Loading more items...