O'Reilly logo

Sams Teach Yourself JavaScript™ in 24 Hours, Fifth Edition by Phil Ballard, Michael Moncur

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

Hour 7. Object Oriented Programming

What You’ll Learn in This Hour

• What Object Oriented Programming is

• Two ways to create objects

• Instantiating an object

• Extending and inheriting objects using prototype

• Accessing object methods and properties

• Using feature detection

As your programs become more complex, you need to use coding techniques that help you to maintain control and ensure that your code remains efficient, readable, and maintainable. In this hour you learn the basics of Object Oriented Programming, an important technique for writing clear and reliable code that you can reuse over and over.

What Is Object Oriented Programming (OOP)?

The code examples to date have been so-called procedural programming. Procedural 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