Script script = getCompiledScript(code.toString(), cx);
return script.exec(cx, scope);
}
protected Object executeExpression(String expression, RhinoContext cx, Scriptable scope) {
Script script = getCompiledScript(expression, cx);
return script.exec(cx, scope);
}