Author’s note: Since this post was written, the API of postMessage has changed slightly. When sending a SharedArrayBuffer with postMessage, the buffer should no longer be in the transfer list argument of the postMessage call. Thus, if sab is a SharedArrayBuffer object and w is a worker, w.postMessage(sab) sends the buffer to the worker. You can visit MDN’s SharedArrayBuffer documentation for more
![A Taste of JavaScript’s New Parallel Primitives – Mozilla Hacks - the Web developer blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/8f043099b608abf8384b24171faa177d3698e62e/height=288;version=1;width=512/https%3A%2F%2Fhacks.mozilla.org%2Fwp-content%2Fthemes%2FHax%2Fimg%2Fhacks-meta-image.jpg)