async function main() {
  var vs = await Promise.all([Promise.resolve(1), Promise.resolve(2), Promise.resolve(3)]);
  return vs[0] + vs[1] + vs[2];
}
var r = null;
main().then(v => { r = v; });
__drain();
r