admin管理员组文章数量:1134576
I've come across the term ESNext
, and wondering it is the same as the ECMAScript.
So, I have these questions here:
- What is ESNext, actually?
- Does it refer to any specific version of ECMAScript?
I've come across the term ESNext
, and wondering it is the same as the ECMAScript.
So, I have these questions here:
- What is ESNext, actually?
- Does it refer to any specific version of ECMAScript?
- 8 Whichever one isn't out yet :) – hobbs Commented Jun 10, 2019 at 6:00
- This might help quora.com/What-is-the-difference-between-ES6-and-ESNext – Mamun Commented Jun 10, 2019 at 6:01
- Just like asking "When is next Tuesday?" and "Does it refer to any specific Tuesday?" – trincot Commented Aug 17, 2021 at 20:58
4 Answers
Reset to default 144What is ESNext, actually?
It varies depending on who's using the term, usually "the next" version of ECMAScript (JavaScript). For instance, when I first wrote this answer in June 2019, if someone said "ESNext" they might be talking about ES2019 plus BigInt, dynamic import, and other features that had recently reached Stage 4 of the process, or they might even have been talking about those plus some advanced Stage 3 proposals. As of this update in April 2020, they'd be talking about the recently-agreed ES2020 and perhaps things like top-level await
, WeakRefs, and logical assignment operators. It varies.
Does it refer to any specific version of EcmaScript?
No, it usually refers to a constantly moving target just beyond the current snapshot specification.
But again, it varies a bit by who's using it.
ES Next simply call the Next version or upcoming version of ES(ECMAScript / JavaScript ). ES Next is the underdevelopment version or beta version. When completing the version and replace a new name like ES 2020/2021
ES.Next is a dynamic name that refers to whatever the next version is at time of writing. ES.Next features are more correctly called proposals, because, by definition, the specification has not been finalized yet. Many features that are a “part” of ES.Next were not even proposed during the work on ES6. Indeed, as a living language, ECMAScript / JavaScript is constantly evolving and being enhanced, and new proposals are continuously being added into ES.Next.
Source : Quora
just a lump of syntactic sugar for saying the next ECMA-Script version, so for now the ESNext would be 23-24
本文标签: javascriptWhat is ESNextStack Overflow
版权声明:本文标题:javascript - What is ESNext? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736860873a1955909.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论