fix(curriculum): correct 'less then' → 'less than' typo in loop explanation (#63871)

This commit is contained in:
Loboston
2025-11-15 18:51:54 -05:00
committed by GitHub
parent b932e80740
commit 3b7a00a2d4

View File

@@ -24,7 +24,7 @@ for (let i = 0; i < 10; i++) {
:::
In the example above, the loop starts counting at `0` and while `i` is less then `10`, the loop will continue to run.
In the example above, the loop starts counting at `0` and while `i` is less than `10`, the loop will continue to run.
Inside the loop, we check if `i` is equal to `5`. If it is, we use the `break` statement to exit the loop early. If not, we log the value of `i` to the console. So the output of the code will print the numbers `0`, `1`, `2`, `3`, and `4`.