jdk-24/nashorn/test/script/basic/funcconstructor.js.EXPECTED

11 lines
165 B
Plaintext
Raw Normal View History

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