UNPKG

nodent

Version:

NoDent - Asynchronous Javascript language extensions

15 lines (13 loc) 324 B
async function test() { return "t" ; } module.exports = async function() { var s = await test() ?"a":"b" ; s = s+(await test() && "c") ; s = s+(await test() || "d") ; s = s+("e" && await test() ) ; s = s+("f" || await test()) ; s = s + (s?await test():"g") ; s = s + (s?"h":await test()) ; return s=="acttfth" ; }