test/script/basic/funcconstructor.js.EXPECTED

Fri, 31 Oct 2014 20:19:49 +0100

author
hannesw
date
Fri, 31 Oct 2014 20:19:49 +0100
changeset 1076
73ca7a752ba1
parent 316
295c91f5fdde
child 952
6d5471a497fb
permissions
-rw-r--r--

8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey

     1 anon func
     2 225
     3 function (x) {
     4 print('anon func'); return x*x;
     5 }
     6 syntax error? true
     7 SyntaxError: <function>:1:13 Missing close quote
     8 print('hello)
     9              ^
    10 done

mercurial