test/nashorn/script/basic/funcconstructor.js.EXPECTED
changeset 47216 71c04702a3d5
parent 17973 d220c8157f25
equal deleted inserted replaced
47215:4ebc2e2fb97c 47216:71c04702a3d5
       
     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