2690. Infinite Method Object
Hints
Hint 1
Javascript has the concept of Proxy. That concept is critical to this problem.
Hint 2
Override all "get" for the object. Return a function instead.
Hint 3
That function should return the "prop", i.e. the method name.
Preparing judge…