nashorn/test/script/basic/funcconstructor.js.EXPECTED
author sundar
Tue, 12 Mar 2013 18:12:42 +0530
changeset 16522 d643e3ee819c
parent 16147 e63b63819133
child 17973 d220c8157f25
permissions -rw-r--r--
8009757: Package access clean up and refactoring Reviewed-by: jlaskey, lagergren, attila

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