O'Reilly logo

JavaScript Step by Step by Steve Suehring

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required