Is it possible to make the following function?
const method = () => { let _reject; const promise = new Promise((resolve, reject) => { _rej