File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class CountingSemaphore {
2626
2727if ( 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 ++ ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class CountingSemaphore {
3636
3737if ( 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 ++ ) {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class CountingSemaphore {
2828
2929if ( 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 ++ ) {
You can’t perform that action at this time.
0 commit comments