nl_tokens: ES#sec - promise . resolve Promise . resolve ( x )
pl_tokens: function PromiseResolve ( x ) { if ( ! IS_RECEIVER ( this ) ) { throw MakeTypeError ( kCalledOnNonObject , PromiseResolve ) ; } if ( IsPromise ( x ) && x . constructor === this ) return x ; <mask> promiseCapability = NewPromiseCapability ( this ) ; var resolveResult = % _Call ( promiseCapability . resolve , UNDEFINED , x ) ; return promiseCapability . promise ; }