jdk-24/test/nashorn/script/basic/funcconstructor.js.EXPECTED
2017-09-12 19:03:39 +02:00

11 lines
165 B
Plaintext

anon func
225
function (x) {
print('anon func'); return x*x;
}
syntax error? true
SyntaxError: <function>:1:13 Missing close quote
print('hello)
^
done