Skip to content

Commit e87a5f9

Browse files
12yatshemsedinov
authored andcommitted
Update 4-callback.js
small typing error
1 parent 3e1e753 commit e87a5f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

0 commit comments

Comments
 (0)