var productItems = ["a", "b", "c", "d"];
var indexs = [1, 2, 3,];
indexs.sort(function(a, b) { return b - a});
indexs.forEach(function(index) { productItems.splice(index, 1) })
var productItems = ["a", "b", "c", "d"];
var indexs = [1, 2, 3,];
indexs.sort(function(a, b) { return b - a});
indexs.forEach(function(index) { productItems.splice(index, 1) })