A SharedArrayBuffer is not copied between worker threads: all of them see the same bytes. Plain reads and writes on it can race, so use Atomics (for example Atomics.add) for indivisible updates.
SharedArrayBuffer
A memory block visible to several threads at once, used with Atomics.