var r = null; new Promise((resolve, reject) => { resolve(42); }).then(v => { r = v; }); __drain(); r