UInt8ClampedArray Bitwise operators?

Brendan Eich brendan at mozilla.org
Wed Aug 12 00:24:48 UTC 2015


Daniel Ehrenberg wrote:
> Uint8ClampedArray is more of a historical artifact than something you
> should actually aim to use. Uint8Array is probably what you'd want to
> get at as a basis for a user-level library.

Thanks for posting this, Daniel. Just to be super-clear (and I was 
around when it was born), Uint8ClampedArray is *totally* a historical 
artifact (of the HTML5 canvas element). Avoid unless you really are 
doing canvas-y things.

/be


More information about the es-discuss mailing list