what is the bug in this?
A. Sundararajan
sundararajan.athijegannathan at oracle.com
Wed Oct 30 05:43:20 PDT 2013
Hi,
In one of the lists you submitted, the following is mentioned:
jjs> Function("return function() { eval(''); return anonymous; }")
Expected: throws ReferenceError
Actual: returns function
Why is ReferenceError expected in the above? Will you please explain? I
checked other impls too - none throw error (just like nashorn). Am I
missing something?
-Sundar
More information about the nashorn-dev
mailing list