Remember, objects in JavaScript are containers that store data and functionality. In this lesson, we will build upon the fundamentals of creating objects and explore some advanced concepts.

So if there are no objections, let’s learn more about objects!

In this lesson we will cover these topics:

  • how to use the this keyword.
  • conveying privacy in JavaScript methods.
  • defining getters and setters in objects.
  • creating factory functions.
  • using destructuring techniques.


Look over the code in main.js to see examples of the object related concept covered in the lesson. Then click next to get started on learning these concepts!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?