How to add property to javascript object array

I need to add a property to the js object array. This is how you can do it

I am using forEach of the array