UInt8ClampedArray Bitwise operators?
brendan at mozilla.org
Wed Aug 12 18:36:34 UTC 2015
Caitlin Potter wrote:
>> ES2015 already has element accessor overloading with proxies, right?
>> > It's everything else that's missing.
> Proxies enforce invariants, which is problematic for this use case because it’s A) expensive, and B) also restricts you from “lying” about the actual properties which exist on the element.
> I recall from an old presentation on Value Types that overloading `` was off limits because those invariants needed to keep working.
No operator proposal has included property access, not so much for
reasons you give (which are good ones) but for separation of concerns.
Allen did propose:
This was controversial in the committee when last considered. Just sayin'!
More information about the es-discuss