This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use Object.defineProperty to add getters and setters to existing objects or with more configuration options.
You've completed the free preview. Subscribe to unlock every lesson in every course.