I\'m looking for a way to update the javascript array while remove the item from html. I don\'t know how to unset this"let productDetail = arrProducts.get(productId.toS