Skip to content

Commit

Permalink
docs: clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andreashuber69 committed May 4, 2024
1 parent e4e1a94 commit 87b0065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const element = document.querySelector("p");
let current = BigInt(2);

for (let round = 0; element && round < 20; ++round) {
// worker.obj is a proxy for Calculator
// worker.obj is a proxy for the Calculator object on the worker
// thread
current = await worker.obj.multiply(current, current);
element.textContent = `${current}`;
}

0 comments on commit 87b0065

Please sign in to comment.