lib/reflect.js
function(target, thisBinding, args) {
    var trap = this.getTrap("apply");
    if (trap === undefined) {
      return Reflect.apply(target, thisBinding, args);
    }

    if (typeof this.target === "function") {
      return trap.call(this.handler, target, thisBinding, args);
    } else {
      throw new TypeError("apply: "+ target + " is not a function");
    }
  }
function(target, thisBinding, args) {
    var trap = this.getTrap("apply");
    if (trap === undefined) {
      return Reflect.apply(target, thisBinding, args);
    }

    if (typeof this.target === "function") {
      return trap.call(this.handler, target, thisBinding, args);
    } else {
      throw new TypeError("apply: "+ target + " is not a function");
    }
  }
function ( target , thisBinding , args ) { var trap = this . getTrap ( "apply" ) ; if ( trap === undefined ) { return Reflect . apply ( target , thisBinding , args ) ; } if ( typeof this . target === "function" ) { return trap . call ( this . handler , target , thisBinding , args ) ; } else { throw new TypeError ( "apply: " + target + " is not a function" ) ; } }
New trap that reifies [[Call]].
If the target is a function, then a call to
proxy(...args)
Triggers this trap
New trap that reifies [[ Call ]] . If the target is a function then a call to proxy ( ... args ) Triggers this trap