code: function reject(r) {
      var capability = newPromiseCapability(this);
      capability.reject.call(undefined, r);
      return capability.promise;
    }
docs: `Promise.reject` method https://tc39.github.io/ecma262/#sec-promise.reject