javascript - How to replace item in array?

preview_player
Показать описание
#short
#javascript
#arrays
Each item of this array is some number:
var items = Array(523,3452,334,31, ...5346);

How to replace some item with a new one?
For example, we want to replace 3452 with 1010, how would we do this?
Рекомендации по теме
Комментарии
Автор

why are you using 32 int and bitwise not? actually why you bother to write contains(), what is wrong with using includes() ?

woongda
welcome to shbcf.ru