fix(curriculum): correct typo in step 12 (#64481)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
shaharyosef
2025-12-11 09:01:53 +01:00
committed by GitHub
co-authored by Huyen Nguyen
parent 43aa311d04
commit 66c31e1071
@@ -19,7 +19,7 @@ isNaN("3.5"); // false
Update the second condition in your `if` statement to use the `isNaN()` function to check if the value returned by `parseInt()` is `NaN`.
Also,as we mentioned in step 1 that we are considering only positive numbers, we should add a third condition in `if` statement to check whether the number is less than 0 (i.e negative numbers)
Also, as we mentioned in step 1, we are considering only positive numbers, so we should add a third condition to the `if` statement to check whether the number is less than 0 (i.e., negative numbers).
```js
6 < 0; // false