I have an array of objects in javascript. What I want is to check one property of the objects in the array and if that property is present then another property should be appended, else create new array of objects. The array of objects is like this:I have an array of objects in javascript. What