while reading, realized that "index" is spelled as "i" in console.log ```js const countries = ['Finland', 'Estonia', 'Sweden', 'Norway'] countries.forEach(function (country, index, arr) { console.log(i, country.toUpperCase()) }) ``` to.... ```js ... countries.forEach(function (country, index, arr) { console.log(index, country.toUpperCase()) }) ```pull/219/head
parent
d0c066fcb9
commit
609dc079ff
Loading…
Reference in new issue