Standard ECMA-262
7ᵗʰ Edition / June 2016 针对阅读的是第7版本
4.2ECMAScript Overview
原始值是以下内置类型之一的成员:Undefined,Null,Boolean,Number,String和Symbol;
a function is a callable object.
这句是说function是一个可‘召唤’的对象,极其有意思的部分。
对象是属性的集合,并且具有单个原型对象。原型可以是空值。
通过属性与对象相关联的函数称为方法。
Symbol value:表示唯一的非String对象属性键
Properties are identified using key values. A property key value is either an ECMAScript String value or a Symbol value. All String and Symbol values, including the empty string, are valid as property keys. A property name is a property key that is a String value.
属性使用键值标识。属性键值是ECMAScript字符串值或符号值。所有字符串和符号值(包括空字符串)都作为属性键有效。属性名称是一个属性键,它是一个String值。
An array index is an integer index
数组索引是整数索引,其数值i在+0≤i<2的32次方 - 1 的范围内。
如果在运行时,算法的实现尝试使用对象不支持的对象的内部方法,则抛出TypeError异常。