Reemplace el elemento de matriz JavaScript Stack Overflow
var index = items.indexOf(3452);
if (index !== -1) {
items[index] = 1010;
}
2 Programmers 1 Bug
var index = items.indexOf(3452);
if (index !== -1) {
items[index] = 1010;
}