nl_tokens: ES#sec - createresolvingfunctions CreateResolvingFunctions ( promise )
pl_tokens: function CreateResolvingFunctions ( promise ) { var alreadyResolved = false ; // ES#sec-promise-resolve-functions // Promise Resolve Functions var resolve = <mask> => { if ( alreadyResolved === true ) return ; alreadyResolved = true ; ResolvePromise ( promise , value ) ; } ; // ES#sec-promise-reject-functions // Promise Reject Functions var reject = reason => { if ( alreadyResolved === true ) return ; alreadyResolved = true ; RejectPromise ( promise , reason ) ; } ; return { __proto__ : null , resolve : resolve , reject : reject } ; }