Is there a way to remove the property 'b' from all objects in an array?
let result=[
{
'id':'1',
'b':'asd'
},
{
'id':'2',
'b':'asd'
},
...
,
{
'id':'2000',
'b':'asd'
},
]
// Is it possible to delete object.b from the entire array of 2000 records?
Would using a foreach loop be the correct approach to deleting a key + value pair from an array of objects?