public Scriptable newObject(Scriptable scope)
    {
        NativeObject result = new NativeObject();
        ScriptRuntime.setBuiltinProtoAndParent(result, scope,
                TopLevel.Builtins.Object);
        return result;
    }
public Scriptable newObject ( Scriptable scope ) { NativeObject result = new NativeObject ( ) ; ScriptRuntime . setBuiltinProtoAndParent ( result , scope , TopLevel . Builtins . Object ) ; return result ; }
Create a new JavaScript object.

Equivalent to evaluating "new Object()".
@param scope the scope to search for the constructor and to evaluate
against
@return the new object