Uint8ClampedArray.prototype.length

Gets the length of the typed array.

Syntax

length

Example

new Uint8ClampedArray([0, 1, 2]).length
3