Skip to content

Commit 3581bc7

Browse files
committed
Fix - Typo in 'snippets/17-breaking-nested-loops.js'
1 parent 17e846a commit 3581bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/17-breaking-nested-loops.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for (const i of arr1) {
1313
for (const j of arr2) {
1414
loop3:
1515
for (const k of arr3) {
16-
console.info(i,j,k); // returns only 1 1 1 as the loop is stopped bu the `break loop1` statement
16+
console.info(i,j,k); // returns only 1 1 1 as the loop is stopped by the `break loop1` statement
1717
break loop1;
1818
}
1919
}

0 commit comments

Comments
 (0)