The slice()
method of SharedArrayBuffer
instances returns a new SharedArrayBuffer
whose contents are a copy of this SharedArrayBuffer
's bytes from start
, inclusive, up to end
, exclusive. If either start
or end
is negative, it refers to an index from the end of the array, as opposed to from the beginning.