Skip to content

Commit 93b3322

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy