Course contentsShow
JavaScript
Lesson 666 of 2,72316. Object Methods and PatternsPro lesson

Getters and Setters in Classes

Apply the same get/set syntax in class definitions to create accessor properties on instances.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.