Chapter 9. JavaScript Core Objects

image

9.1 What Are Core Objects?

Like an apple, JavaScript has a core, and at its core are objects. Everything you do in JavaScript will be based on objects; you may create your own as we did in Chapter 8, “Objects,” or use JavaScript’s core objects. Core objects are built right into the language. JavaScript provides built-in objects that deal with the date and time, math, strings, regular expressions, numbers, and other useful entities. The good news is that the core objects are consistent across different implementations and platforms and were standardized by the ECMAScript 1.0 specification, allowing programs ...

Get JavaScript by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.