use of com.github.anba.es6draft.runtime.types.builtins.ProxyObject in project es6draft by anba.
the class ProxyConstructor method construct.
/**
* 26.2.1.1 Proxy (target, handler)
*/
@Override
public ProxyObject construct(ExecutionContext callerContext, Constructor newTarget, Object... args) {
Object target = argument(args, 0);
Object handler = argument(args, 1);
/* step 2 */
return ProxyCreate(calleeContext(), target, handler);
}
Aggregations