我知道浏览器都有自己的实现,但是规范在哪里,公共(public)部分是什么,即。数组、字符串、无穷大等。
本质上,我试图找出浏览器可以使用哪些变量/部分:位置、导航器、窗口、文档等,然后得出这个问题
最佳答案
but where is the spec, what are the common parts, ie. Array, String, Infinity, etc
Essentially, I was trying to figure out which variables/parts are available to a browser: location, navigator, window, document, etc, and came to this question
这些不是 JavaScript 的一部分。有些是由 W3C DOM specifications 定义的,其他是 non-standard DOM 0 的一部分最好通过 MDN 引用(IMO) .
关于javascript - 在哪里可以找到 javascript 核心库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14014828/