nashorn/test/script/basic/funcconstructor.js.EXPECTED
changeset 17973 d220c8157f25
parent 16147 e63b63819133
equal deleted inserted replaced
17972:2ed196cf0643 17973:d220c8157f25
     2 225
     2 225
     3 function (x) {
     3 function (x) {
     4 print('anon func'); return x*x;
     4 print('anon func'); return x*x;
     5 }
     5 }
     6 syntax error? true
     6 syntax error? true
     7 SyntaxError: <function>:2:13 Missing close quote
     7 SyntaxError: <function>:1:13 Missing close quote
     8 print('hello)
     8 print('hello)
     9              ^
     9              ^
    10 done
    10 done