Meta Programming in JavaScript with Proxies
This rubs me the wrong way somehow.<p>All of this functionality could be accomplished with simple functions. They may not be as cool, but they are obvious in the calling code and they are easy to search for. Magic stuff like this conflicts with community conventions. New people are going to be perplexed as to what&#x27;s going on (or worse, they learn from your code and conversely get perplexed when x[-1] doesn&#x27;t work on a normal array). Also, you risk confusing various tools in subtle ways.