gpt4 book ai didi

javascript - ECMAScript 6 或 7 是否支持静态类型?

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

ECMAScript 6 中是否支持静态类型? ECMAScript 7 怎么样?

最佳答案

没有。

但是在 ECMA-Script Wikipage 上有一段关于 ECMA-Script 7 中的更改的内容:

The Seventh Edition is in a very early stage of development, but is intended to continue the themes of language reform, code isolation, control of effects and library/tool enabling from ES6. New features proposed include promises/concurrency, number and math enhancements, guards and trademarks (an alternative to static typing), operator overloading, value types (first-class number-like objects), new record structures (records, tuples and typed arrays), pattern matching, and traits.

您可能会感兴趣。

关于javascript - ECMAScript 6 或 7 是否支持静态类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22407765/

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