UNPKG

nodent

Version:

NoDent - Asynchronous Javascript language extensions

14 lines (12 loc) 277 B
if (!__nodent.wrapAwait) module.exports = async function() { DoNotTest() } else { async function inc(x) { return x+1 ; } async function test() { var a = await inc(999) ; var b = await 1000 ; var c = await 999+1 ; return a==b && b==c; } module.exports = test ; }