Customize Behavior when Accessing Properties with Proxy Handlers

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

A Proxy allows you to trap what happens when you try to get a property value off of an object and do some behavior before the value is accessed. For example, you could check the name of the property and always return a certain value or even check if the property is undefined and return some default. The options are unlimited.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.