Hacker News new | ask | show | jobs
by ilaksh 3736 days ago

    let result = await call();
    nextCall(result)
Not really a pale imitation, works just as well. The async and await keywords could be shorter. Toffeescript and Livescript are more concise than the new ECMAScript with their operators for async but it's just a little more text to read.