async function f() { return 42; } var r = null; f().then(v => { r = v; }); __drain(); r