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/

Reply via email to