2 ms·
I love node 8. `await` and `util.promisify()` has completely changed how I approach JavaScript. What a great position JS is in that 'await' is now default in s
by nailer 9y ago
I love node 8. `await` and `util.promisify()` has completely changed how I approach JavaScript.
What a great position JS is in that 'await' is now default in stable server & build tools and the browser.
Stable Chrome has await top level in the console today too.
Yaay.
- Me1000 9y agoRunKit allows top-level await today, too: https://npm.runkit.com/try-node-8 https://npm.runkit.com/try-node-8
- apatheticonion 9y agoDo you know if top level await will ever be supported by node?
- scottmf 9y agoRelevant discussion: https://gist.github.com/Rich-Harris/0b6f317657f5167663b493c722647221 https://gist.github.com/Rich-Harris/0b6f317657f5167663b493c7...