Chapter 8. Objects in JavaScript
After reading this chapter, you'll be able to
Understand objects in JavaScript, including object properties, object methods, and classes.
Create objects.
Define properties for objects using classes.
Understand arrays in JavaScript.
Use several array methods.
Understand the Date object in JavaScript.
Use the Date object to display the current date on a Web page.
Object-Oriented Development
For those who are new to object-oriented programming concepts or may need a bit of a refresher, read on. If you're already comfortable with object-oriented programming, skip ahead to the section called Creating Objects.
A programming paradigm describes a methodology for solving the problems at hand. There are more than 25 different programming ...
Get JavaScript Step by Step 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.