How to update the array object value on the basis of index in Javascript ES6
I wants to update the array object value on the basis of the index in Javascript ES6 with the following json data and javascript code. I want to update the description. const products = [ { "id": 1, "description": "Milk…