Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Object-Oriented JavaScript Course (How To)

via Treehouse

Overview

Google, IBM & Meta Certificates – 40% Off a Year
One Coursera Plus subscription covers most Professional Certificates on Coursera. 40% off a full year through Dec 2.
Unlock All Certificates

In this course, you'll learn the basics of object-oriented programming in JavaScript along with the new ES2015 Class syntax.

What you'll learn

  • Basics of object-oriented programming
  • Creating your own objects with properties and methods
  • ES2015 Class syntax
  • Constructors, getters, and setters

Syllabus

Introduction to Object-Oriented JavaScript

Explore objects in JavaScript and learn why we use object-oriented programming.

  • Welcome to Object-Oriented JavaScript
  • What Is an Object, and Why Do We Care?
  • JavaScript Objects
  • Reviewing Introduction to Object-Oriented JavaScript

Object Basics

All about object literals, and object basics like encapsulation, properties, methods, and classes.

  • Object Literals and Components of Objects
  • Creating Object Literals
  • Dot Notation & Bracket Notation
  • Filling Out the Play Method
  • Changing and Adding Properties
  • Changing and Adding Properties
  • Reviewing Object Basics

Working with Classes in JavaScript

Use ECMAScript's new Class syntax to build objects of your own and practice what you've learned.

  • When Object Literals Aren’t Enough
  • Writing Your First Class
  • Adding Properties Inside the Constructor Method
  • Creating a new class
  • Instantiating a Pet Object
  • Instantiating an object
  • Adding Methods To Our Class
  • Adding methods to classes
  • Review Working with Classes in JavaScript

Getters and Setters

Learn more advanced object-oriented topics like getter and setter methods.

  • Getters
  • Creating Getter Methods
  • Setters
  • Creating Setter Methods
  • Object Interaction
  • Bringing it All Together
  • Reviewing Getters and Setters

Taught by

Ashley Boucher

Reviews

Start your review of Object-Oriented JavaScript Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.