view test/script/basic/funcconstructor.js.EXPECTED @ 1651:744c05874c23

8131929: Add option for debuggable scopes Reviewed-by: attila, lagergren
author hannesw
date Wed, 18 Nov 2015 17:12:47 +0100
parents da1e581c933b
children
line wrap: on
line source
anon func
225
function (x) {
print('anon func'); return x*x;
}
syntax error? true
SyntaxError: <function>:1:13 Missing close quote
print('hello)
             ^
done