Skip to content

Commit

Permalink
Update web-workers/simple-shared-worker/multiply.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth authored Dec 30, 2024
1 parent 8c683fd commit 6dd4621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-workers/simple-shared-worker/multiply.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (!!window.SharedWorker) {
}
})

myWorker.port.onmessage = function (e) {
myWorker.port.onmessage = (e) => {
result1.textContent = e.data;
console.log("Message received from worker");
console.log(e.lastEventId);
Expand Down

0 comments on commit 6dd4621

Please sign in to comment.