Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.dynjs.runtime.builtins.types.object;
 
 
 public class IsExtensible extends AbstractNativeFunction {
    public IsExtensible(GlobalObject globalObject) {
        super(globalObject"o");
    }
    @Override
    public Object call(ExecutionContext contextObject selfObject... args) {
        // 15.2.3.13
        Object o = args[0];
        if (!(o instanceof JSObject)) {
            throw new ThrowException(contextcontext.createTypeError("must be an object"));
        }
        JSObject jsObj = (JSObjecto;
        return jsObj.isExtensible();
    }
New to GrepCode? Check out our FAQ X