gpt4 book ai didi

javascript - Node.js 版本到 ECMAScript 版本的映射

转载 作者:行者123 更新时间:2023-12-03 07:07:38 25 4
gpt4 key购买 nike

关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。












我们不允许提出有关书籍、工具、软件库等建议的问题。您可以编辑问题,以便可以用事实和引用来回答它。


1年前关闭。







Improve this question




是否有来自 Node.js 版本的映射,例如0.10 或 14,对应的 ECMAScript 版本,例如ES5、ES2020?

As this question is closed, I can't post the solution I came up with as an answer, so it is here instead.

@bevry/node-versions includes fetchESVersionForNodeVersion(nodeVersion: string): Promise<string> which will fetch the ECMAScript version that was ratified by the time that the Node.js version was released.

最佳答案

Which features ship with which Node.js version by default?

The website node.green provides an excellentoverview over supported ECMAScript features in various versions ofNode.js, based on kangax's compat-table.


来源: https://nodejs.org/en/docs/es6/

关于javascript - Node.js 版本到 ECMAScript 版本的映射,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64545963/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com