
Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Javascript has the concept of Proxy. That concept is critical to this problem.
Override all "get" for the object. Return a function instead.
That function should return the "prop", i.e. the method name.