UNPKG

nodent

Version:

NoDent - Asynchronous Javascript language extensions

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