In ECMAScript, all objects are not created in the same way. Generally, three types of objects can be created and used: local objects, built-in objects, and host objects. The local object ECMA-262 defines a local object as an object provided by the ECMAScript implementation independent of the host environment ". Simply put, a local object is the class defined by the ECMA-262 (reference type ). These include: Object Function Array String Boolean Number Date RegExp Error EvalError RangeError ReferenceError SyntaxError TypeError URIError pages JavaScript advanced tutorial: ECMAScript reference type JavaScript advanced tutorial: ECMAScript Function JavaScript reference manual: array object JavaScript Reference Manual: Boolean object JavaScript Reference Manual: Date object JavaScript Reference Manual: Number object JavaScript Reference Manual: String object JavaScript reference manual: regExp object built-in object ECMA-262 defines the built-in object (built-in object) All objects provided by the ript implementation, independent from the host environment, appear when the ECMAScript program starts to run ". This means that developers do not have to explicitly instantiate the built-in object, which has been instantiated. The ECMA-262 defines only two built-in objects, Global and Math (they are also local objects and, by definition, each built-in object is a local object ). Related page JavaScript Reference Manual: Global object JavaScript Reference Manual: Math object host object all non-local objects are the objects provided by the host object (host object) implemented by ECMAScript. All BOM and DOM objects are host objects. Related Pages http://www.w3school.com.cn/js/pro_js_object_types.aspJavaScript advanced tutorial: JavaScript implementation W3School Reference Manual: JavaScript reference manual W3School Tutorial: html dom tutorial