var r = null; Promise.all([1, 2, 3]).then(vs => { r = vs.length; }); __drain(); r