UNPKG

nodent-compiler

Version:

NoDent - Asynchronous Javascript language extensions

24 lines (19 loc) 260 B
var s ; async function breathe() {} async function test(x) { if (x){ try { await breathe(1); } catch (ex) { throw ex ; } await breathe(3) ; s += "x" ; } s += "y" ; return 0 ; } s = "" ; await test(0) ; await test(1); return s=="yxy";