Monday, September 16, 2013

Javascript Object types

The different type of objects in javascript:

 "Native objects are those objects supplied by JavaScript. Examples of these are String, Number, Array, Image, Date, Math, etc."

 "Host objects are objects that are supplied to JavaScript by the browser environment. Examples of these are window, document, forms, etc."

 "And, user-defined objects are those that are defined by you, the programmer."

From ECMA -
native object object in an ECMAScript implementation whose semantics are fully defined by this specification rather than by the host environment.

host object object supplied by the host environment to complete the execution environment of ECMAScript.

Should we extend native objects?


Here is the list of all important JavaScript Native Objects:

No comments:

Post a Comment