Ad
  • Custom User Avatar

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

  • Default User Avatar

    There are no tests with functions as prototype. So solutions which just check that typeof proto === 'object' pass.

  • Custom User Avatar

    When submitting my solution I get the error below. I have tested the solution in jsfiddle and it worked fine. Any ideas what's wrong?

     /runner/frameworks/javascript/cw-2.js:264 console.log("" + this.format(_message(Test.trace(ex))
     ^ TypeError: Object # has no method 'log' 
     at (/runner/frameworks/javascript/cw-2.js:264:25) 
     at Object.Test.handleError (/runner/frameworks/javascript/cw-2.js:254:26) 
     at [eval]:3:6 
     at Object. ([eval]-wrapper:6:22)
     at 
     at evalScript (node.js:536:25) 
     at startup (node.js:80:7) 
     at node.js:906:3