Objects and Browsers
One thing that always seems to come as a surprise to the budding JavaScripter is that not all browsers support the same objects. Mostly this is because the various browser manufacturers each want to add their own proprietary things to the JavaScript standard they include with their browsers. However, thanks mainly to the ECMAScript standard and partially to the common origin of both Microsoft's JScript and Netscape Navigator's JavaScript, most of the objects are available in both browsers.
As an example, take a look at the following. The ECMAScript standard contains the following objects:
Array— Enables the creation of a new array
Boolean— Creates a new Boolean value
Date— Enables basic storage and retrieval of dates and times ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access