UNPKG

247 BJavaScriptView Raw
1'use strict'
2
3module.exports = function () {
4 let resolutionFunc, rejectionFunc
5 const promise = new Promise((resolve, reject) => {
6 resolutionFunc = resolve
7 rejectionFunc = reject
8 })
9 return [promise, resolutionFunc, rejectionFunc]
10}