mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-11 16:00:12 -04:00
fix(curriculum): typo in statistics step 29 (#55054)
This commit is contained in:
@@ -21,7 +21,7 @@ numbersArr.forEach((el) => {
|
||||
});
|
||||
```
|
||||
|
||||
Check if the current number is already in the `counts` object. If it is, incremented by `1`. If it is not, set it to `1`.
|
||||
Check if the current number is already in the `counts` object. If it is, increment it by `1`. If it is not, set it to `1`.
|
||||
|
||||
Resulting object. The keys are the numbers from the array and the values are the number of times each number appears in the list:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user