Update 01_javascript_refresher.md

i to index
pull/356/head
Arjun Pandit 2 years ago committed by GitHub
parent 8b41cd49c3
commit bee06134cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3409,7 +3409,7 @@ Let see different examples
```js ```js
const countries = ['Finland', 'Estonia', 'Sweden', 'Norway'] const countries = ['Finland', 'Estonia', 'Sweden', 'Norway']
countries.forEach(function (country, index, arr) { countries.forEach(function (country, index, arr) {
console.log(i, country.toUpperCase()) console.log(index, country.toUpperCase())
}) })
``` ```

Loading…
Cancel
Save