JavaScript 领域中 [[intrinsics]]
属性的内容是什么?
我已经阅读了一些规范,但无法完全解释其中的描述:
Record whose field names are intrinsic keys and whose values are objects
规范的相关部分:https://people.mozilla.org/~jorendorff/es6-draft.html#sec-code-realms
编辑:内在对象是内置对象吗?比如数字、数组等?
最佳答案
定义了[[intrinsics]]
属性here 。它由内置对象组成,例如 Array
、Number
、Math
、Generator
、NaN
等等
它还包含 Object.prototype
、Function.prototype
和 ThrowTypeError
属性的定义(不知道那是什么,超出了肤浅的解读)
关于javascript - JavaScript 领域中 [[intrinsics]] 属性的内容是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29749894/