gpt4 book ai didi

javascript - EcmaScript5 特性

转载 作者:行者123 更新时间:2023-11-29 20:17:06 28 4
gpt4 key购买 nike

我对 ES3 有一定的了解,但我对 ES5 的特性不是很了解。我 - 或多或少 - 知道:

  • Object.create(), Object.freeze()
  • “使用严格”
  • getter 和 setter
  • 数组的map()filter()every()some()方法.原型(prototype)
  • JSON.parse()

但我确定我还缺少其他好东西。此外,我不知道上述所有细节:例如,我不确定"use strict" 的所有效果。

Is there a good resource where to learn all the ins and outs of ES5, in particular constrsting it to ES3, short of reading the final final final final draft?

最佳答案

查看 Compliance table

然后只需在 MDN 上搜索每个功能即可。

john resig 也有一篇文章

似乎还有一个page at Mozilla

关于javascript - EcmaScript5 特性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6130196/

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