maxByteLength

open override val maxByteLength: Int(source)

If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not.

MDN