ArrayBuffer.prototype.byteLength

Returns the length of the ArrayBuffer in bytes.

Syntax

byteLength

Example

(new Float64Array(1)).buffer.byteLength
8