Node.js - Worker Threads
What is wrong with the following code snippet?
const sab = new SharedArrayBuffer(8); const uint8 = new Uint8Array(sab); uint8[0] = 255; Atomics.store(uint8, 0, 256); console.log(uint8[0]);
