Merge pull request #11 from hrv2k/patch-1

Correct a typo
This commit is contained in:
Isabelle Viktoria Maciohsek
2021-02-14 20:49:44 +02:00
committed by GitHub

View File

@ -31,7 +31,7 @@ Object.keys(data).forEach(k => console.log(k));
```js
const data = [3, 4];
// Iterate over the values
Object.keys(data).forEach(v => console.log(v));
Object.values(data).forEach(v => console.log(v));
// 3 4
```