I have array of objects like this:
const array = [
{
name: "Jack",
age: 25,
cars: ["bmw", "tesla", "ford", "honda"]
},
...other objects
]
So, how can I remove elements in property cars, like if I could get element "ford" and delete it, then my object will be like this:
[
{
name: "Jack",
age: 25,
cars: ["bmw", "tesla", "honda"]
},
...other objects
]