I have an Array of Objects like:
[
{
title: 'Title 1',
value: 'value 1'
},
{
title: 'Title 2',
value: 'value 2'
}
]
I need to add a new param to all the objects.
I know I can do a for over the array and modify each object, I'm trying to find a way to solve with a native method. Does that exists?