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

Defining Setters with the 'set' Keyword

Use the 'set' keyword to intercept property assignments and execute custom logic when a value is set.

This lesson is for subscribers

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