mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-13 22:00:19 -04:00
fix(curriculum): fix spelling from behaviour to behavior (#64083)
This commit is contained in:
@@ -16,7 +16,7 @@ console.log(undefined < 0); // false (NaN < 0 is false)
|
||||
console.log(undefined >= 0); // false (NaN >= 0 is false)
|
||||
```
|
||||
|
||||
- **Comparisons and `null`**: The `null` type represents the intentional absence of a value. `null` converts to `0` in numeric contexts, which may result in unexpected behaviour in numeric comparisions:
|
||||
- **Comparisons and `null`**: The `null` type represents the intentional absence of a value. `null` converts to `0` in numeric contexts, which may result in unexpected behavior in numeric comparisions:
|
||||
|
||||
```js
|
||||
console.log(null < 0); // false (0 < 0 is false)
|
||||
|
||||
@@ -604,7 +604,7 @@ console.log(undefined < 0); // false (NaN < 0 is false)
|
||||
console.log(undefined >= 0); // false (NaN >= 0 is false)
|
||||
```
|
||||
|
||||
- **Comparisons and `null`**: The `null` type represents the intentional absence of a value. `null` converts to `0` in numeric contexts, which may result in unexpected behaviour in numeric comparisions:
|
||||
- **Comparisons and `null`**: The `null` type represents the intentional absence of a value. `null` converts to `0` in numeric contexts, which may result in unexpected behavior in numeric comparisions:
|
||||
|
||||
```js
|
||||
console.log(null < 0); // false (0 < 0 is false)
|
||||
|
||||
Reference in New Issue
Block a user