Is there a non-strict setting for the eval() function?
walter.higgins at gmail.com
Mon Mar 10 12:53:44 UTC 2014
In JRE6/7 I can run code like this...
scriptEngine.eval(' age = 5 ');
... but in Nashorn the following fails ( ReferenceError) ...
eval( ' age = 5' );
Is there a way to make the native eval() function provided by Nashorn not
be so strict?
Mobile: (+353) 086 8511600
More information about the nashorn-dev