Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Nsynjs – JS engine with stoppable threads and without callback hell. Parent comment
Is totally false. You can await on any promise, the method called doesn't have to be an async function.
And you can resolve any async function through promises as well.
> 2. It's not compatible with some browsers, only via Babel
async/await is part of the the ES spec, which browsers have to follow to be compliant with ES spec.
There are no comments on this comment yet.
Is totally false. You can await on any promise, the method called doesn't have to be an async function.
And you can resolve any async function through promises as well.
> 2. It's not compatible with some browsers, only via Babel
async/await is part of the the ES spec, which browsers have to follow to be compliant with ES spec.