This article is a little more advanced than usual, and we’ll cover a number topics in one go. A JavaScript proxy gives us the ability to intercept JavaScript as it attempts to access the properties and executes the functions of an object.
It’s a perfect way to introduce the concept of a ‘default method’ or ‘default property’ into an object.
This article is a little more advanced than usual, and we’ll cover a number topics in one go. A JavaScript proxy gives us the ability to intercept JavaScript as it attempts to access the properties and executes the functions of an object.
It’s a perfect way to introduce the concept of a ‘default method’ or ‘default property’ into an object.
https://ramblings.mcpher.com/apps-script/proxies/