internal static Rhino.InterpretedFunction CreateFunction(Context cx, Scriptable scope, Rhino.InterpretedFunction parent, int index) { Rhino.InterpretedFunction f = new Rhino.InterpretedFunction(parent, index); f.InitScriptFunction(cx, scope); return f; }