Ad
  • Custom User Avatar
  • Custom User Avatar

    It might be related: throw triggers an error even if it's in a string.

    This piece of code:

    function bang(){
      "Just throw like this!";
    }
    

    Results:

    Error: I think you are cheating, your code have `throw`.
            at Object.handleError
            at ContextifyScript.Script.runInThisContext
        at Object.runInThisContext`
    

    As well as this piece of code:

    function bang(){
      // Just throw like this!
    }