I want to remove property 'b' from all objects how i remove???
let result=[
{
'id':'1',
'b':'asd'
},
{
'id':'2',
'b':'asd'
},
...
,
{
'id':'2000',
'b':'asd'
},
]
// delete object.b; its only for object and want to remove from whole
// array 2000 records
Using foreach loop is it correct way to delete key + value pair from array of objects