Skip to content

Commit 93b3322

Browse files
12yatshemsedinov
authored andcommitted
small typing errors
1 parent e87a5f9 commit 93b3322

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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 to change 10 to 2 at next lene to check solution
31+
// Try to change 10 to 2 at next line 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++) {

JavaScript/6-counting-safe.js

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

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

0 commit comments

Comments
 (0)