mirror of https://github.com/svaarala/duktape.git
Browse Source
Duktape 0.11.0 would allow an empty throw (e.g. "throw;") and would also allow automatic semicolon insertion between "throw" and its argument, e.g.:: throw 123; The above must be rejected with a SyntaxError according to E5.1. Both empty throw and the above newline case are rejected by V8 and Rhino, so the previous more lenient behavior should not conflict with real world code.v1.0-maintenance
Sami Vaarala
10 years ago
3 changed files with 8 additions and 11 deletions
Loading…
Reference in new issue