Is there a non-strict setting for the eval() function?
Walter Higgins
walter.higgins at gmail.com
Mon Mar 10 12:53:44 UTC 2014
Hi,
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?
--
Walter Higgins
Mobile: (+353) 086 8511600
Website: http://walterhiggins.net/
More information about the nashorn-dev
mailing list