MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
With object-oriented JavaScript, you'll be able to build classes to construct objects that encapsulate both data and functionality. You'll also learn how to leverage prototypal inheritance to maintain DRY code, allowing you to pass behaviors down to objects. You'll also learn how to keep data safe and secure by creating private state with closures and immediately-invoked function expressions.
As a front-end web developer, JavaScript is one of the most important languages in your toolbox. A strong foundation in the language’s features empowers you to build efficient and performant web applications. In this course, you’ll explore a variety of ways to write object-oriented code in JavaScript.
You’ll build classes to create new objects that share similar data and functionality. You'll reduce your development time by leveraging JavaScript's prototypal inheritance model, leading to modular and reusable code. And thanks to abstraction and private state, your data will be safe and secure.
What You Will Learn
Lesson 1
Objects in Depth
- Create objects and add/remove properties to them
- Write methods to access and mutate an object's properties
- Learn how variables are properties on window
Lesson 2
Functions at Runtime
- Leverage functions as first-class functions
- Identify when a scope is created
- Utilize closures and IIFE's to build private state
Lesson 3
Classes and Objects
- Write a constructor function to instantiate objects
- Identify and manually set the value of this
- Implement prototypal inheritance
Prerequisites and Requirements
This course builds on the skills covered in Intro to JavaScript. Prior to taking this course, the student should be able to:
- Explain and utilize JavaScript's primitive types
- Write conditions and loops
- Recognize object syntax and structure
- Declare functions
- Navigate and use Chrome DevTools
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.