@Test void testInvokeFunction() throws Exception { long epoch = 1487342481434L; assertEquals(epoch, nashornScriptEngine.eval("new Date(" + epoch + ")")); }
public Object eval(String script) throws ScriptException { return convertNashornValue(scriptEngine.eval(script, new SimpleBindings())); }
NashornScriptEngine { public Object eval(String script) throws ScriptException { return convertNashornValue(scriptEngine.eval(script, new SimpleBindings())); } }
NashornScriptEngine { public Object eval(String script) throws ScriptException { return convertNashornValue(scriptEngine.eval(script, new SimpleBindings())); } NashornScriptEngine(); }
NashornScriptEngine { public Object eval(String script) throws ScriptException { return convertNashornValue(scriptEngine.eval(script, new SimpleBindings())); } NashornScriptEngine(); Object eval(String script); Object eval(Bindings bindings, String expression); ScriptObjectMirror newJSArray(); }
NashornScriptEngine { public Object eval(String script) throws ScriptException { return convertNashornValue(scriptEngine.eval(script, new SimpleBindings())); } NashornScriptEngine(); Object eval(String script); Object eval(Bindings bindings, String expression); ScriptObjectMirror newJSArray();  }