Objects
JavaScript is fundamentally about objects. Arrays are objects. Functions are objects. Objects are objects. So what are objects? Objects are collections of name-value pairs. The names are strings, and the values are strings, numbers, booleans, and objects (including arrays and functions). Objects are usually implemented as hashtables so values can be retrieved quickly.
Object类具有下列属性:
Constructor对创建对象的函数的引用(指针)。对于Object类,该指针指向原始的object()函数。
Prototype对该对象的对象原型的引用。对于所有的类,它默认返回Object对象的一个实例。