Advanced
JavaScript
Q67 / 100
What is the purpose of TransferableObjects with postMessage?
Correct! Well done.
Incorrect.
The correct answer is B) Objects (like ArrayBuffer) whose ownership is transferred to the recipient, zeroing the sender's reference to avoid copying
B
Correct Answer
Objects (like ArrayBuffer) whose ownership is transferred to the recipient, zeroing the sender's reference to avoid copying
Explanation
Transferring an ArrayBuffer moves ownership to the worker (zero-copy). The original becomes detached. SharedArrayBuffer allows actual shared memory.
Progress
67/100