Skip to content

Commit 830de01

Browse files
committed
Fix comments
1 parent 0113a12 commit 830de01

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

JavaScript/3-counting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CountingSemaphore {
2626

2727
if (isMainThread) {
2828
const buffer = new SharedArrayBuffer(4);
29-
// Try change 10 to 2 at next lene to see problem
29+
// Try to change 10 to 2 at next lene to see problem
3030
const semaphore = new CountingSemaphore(buffer, 0, 10);
3131
console.dir({ semaphore: semaphore.counter[0] });
3232
for (let i = 0; i < 20; i++) {

JavaScript/4-callback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CountingSemaphore {
3636

3737
if (isMainThread) {
3838
const buffer = new SharedArrayBuffer(4);
39-
// Try change 10 to 2 at next lene to check solution
39+
// Try to change 10 to 2 at next lene to check solution
4040
const semaphore = new CountingSemaphore(buffer, 0, 10);
4141
console.dir({ semaphore: semaphore.counter[0] });
4242
for (let i = 0; i < 20; i++) {

JavaScript/5-atomics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CountingSemaphore {
2828

2929
if (isMainThread) {
3030
const buffer = new SharedArrayBuffer(4);
31-
// Try change 10 to 2 at next lene to check solution
31+
// Try to change 10 to 2 at next lene to check solution
3232
const semaphore = new CountingSemaphore(buffer, 0, 10);
3333
console.dir({ semaphore: semaphore.counter[0] });
3434
for (let i = 0; i < 20; i++) {

0 commit comments

Comments
 (0)