JavaScript Proxy Object Lab
Medium
9
1
45.8% Acceptance
In this lab, you will explore the JavaScript Proxy object by creating a proxy object with a custom handler. This handler will intercept the 'get' operation on the object's property and return the value in uppercase if the property is msg
. Otherwise, it will return the original value for other properties.
You will create a file named proxy.js
and follow the challenges to construct the Proxy, target, and handler objects. Use ESM syntax for import and export.