|
|
@ -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())
|
|
|
|
})
|
|
|
|
})
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|