public static Object eval(String script) throws ScriptException {
  requireLoad();
  checkSupported();
  return engine.eval(script);
}

public static Object eval ( String script ) throws ScriptException { requireLoad ( ) ; checkSupported ( ) ; return engine . eval ( script ) ; }
evaluate a script . this will execute a script given and return the value of the script , with the default bindings of the scriptengine . this is a shortcut for engine . eval ( )
