
- JavaScript
- Intermediate
About this Course
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
Introduction to Object-Oriented JavaScript
Explore objects in JavaScript and learn why we use object-oriented programming.
4 stepsObject Basics
All about object literals, and object basics like encapsulation, properties, methods, and classes.
7 stepsWorking with Classes in JavaScript
Use ECMAScript's new Class syntax to build objects of your own and practice what you've learned.
9 steps-
When Object Literals Aren’t Enough
3:04
-
Writing Your First Class
3:28
-
Adding Properties Inside the Constructor Method
2:33
-
Creating a new class
3 objectives
-
Instantiating a Pet Object
2:32
-
Instantiating an object
1 objective
-
Adding Methods To Our Class
3:15
-
Adding methods to classes
2 objectives
-
Review Working with Classes in JavaScript
4 questions
Getters and Setters
Learn more advanced object-oriented topics like getter and setter methods.
7 stepsTeacher
-
Ashley Boucher
I'm a Portland resident who loves building in JavaScript and Python, especially browser games. My free time is spent aspiring to write a novel, playing piano and roller skating.