We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93b3322 commit d271cd1Copy full SHA for d271cd1
1 file changed
JavaScript/3-counting.js
@@ -26,7 +26,7 @@ class CountingSemaphore {
26
27
if (isMainThread) {
28
const buffer = new SharedArrayBuffer(4);
29
- // Try to change 10 to 2 at next lene to see problem
+ // Try to change 10 to 2 at next line to see the problem
30
const semaphore = new CountingSemaphore(buffer, 0, 10);
31
console.dir({ semaphore: semaphore.counter[0] });
32
for (let i = 0; i < 20; i++) {
0 commit comments