Skip to content

Commit

Permalink
Update index.md (#5202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stikast committed Mar 14, 2024
1 parent cd37bdf commit 5192e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/array-slice/index.md
Expand Up @@ -119,7 +119,7 @@ console.log(newCities)
// [{city: 'Ливерпуль'}, {city: 'Лондон'}]

// изменим элемент исходного массива
cities[0].established = 1207
cities[1].established = 1207

console.log(cities)
// [{city: 'Глазго'}, {city: 'Ливерпуль', established: 1207}, {city: 'Лондон'}]
Expand Down

0 comments on commit 5192e3e

Please sign in to comment.