My array is as such
"regions": [
{
"Id": 1,
"code": 1,
"name": "Trivandrum",
"Categories": [
{
"Id": 1,
"category_id": 1,
"region_id": 1,
"ref_count": 2,
}
],
"Shops": [
{
"Id": 33,
"is_enabled": true,
"is_setup_complete": false,
"approval_time": 10,
"packaging_time": 30,
"erp_ref": "45645655",
"priority": 0,
"admin_id": 11,
"region_id": 1,
},
{
"Id": 34,
"is_enabled": true,
"is_setup_complete": false,
"approval_time": 10,
"packaging_time": 30,
"erp_ref": "4524645",
"priority": 0,
"admin_id": 11,
"region_id": 1,
},
]
}
]
I want to completely remove the Shops from the array.How can I do it in JavaScript?