4 ms·
The upcoming version of JavaScript--some engines already support this, I think--includes support for "proxies" which basically let you overload both array acces
by tikhonj 15y ago
The upcoming version of JavaScript--some engines already support this, I think--includes support for "proxies" which basically let you overload both array access (a['b']) and . access (a.b) for an object.