天啊!Node.js v14.3.0 发布!

摘要转载自 「JavaScript」 ( mp.weixin.qq.com ) By JavaScript

预计阅读时间 0 分钟(共 0 个字, 0 张图片, 0 个链接)

REPL previews improvements with autocompletion

The output preview is changed to generate previews for autocompleted input instead of the actual input.

Pressing <enter> during a preview is now going to evaluate the whole string including the autocompleted part. Pressing <escape> cancels that behavior.


Support for Top-Level Await

It's now possible to use the await keyword outside of async functions.


Other Notable Changes: 

https://nodejs.org/en/blog/release/v14.3.0/



好文和朋友一起看~
more_vert