Team LiB
Previous Section Next Section

Summary

Built-in objects are those provided by the JavaScript language itself, such as Array, Boolean, Date, Math, Number, and String. Many of the built-in objects are related to the various data types supported in the language. Programmers will often access the methods and properties of the built-in objects related to the complex data types such as arrays or strings. The Math and Date objects are commonly used as well in JavaScript applications. However, much of the time the fact that the primitive types are objects—as are everything else in JavaScript including functions—goes unnoticed by JavaScript programmers. Understanding these underlying relationships can make you a better JavaScript programmer. However, if you feel you don’t fully comprehend or care about the interconnectedness of it all and just want to use the provided methods and properties of the various built-in objects, you’ll still find an arsenal of easy-to-use and powerful features at your disposal. The next chapter takes a look at one very useful aspect of JavaScript: regular expressions.


Team LiB
Previous Section Next Section