I have the following array of objects:
names: [
{
"first": "Bob",
"last": "Newhart"
},
{
"first": "Jerry",
"last": "Seinfeld"
},
{
"first": "Oprah",
"last": "Winfrey"
}
]
I want to convert this into a simple array that looks like this:
names: [ "Bob Newhart", "Jerry Seinfeld", "Oprah Winfrey"]
What is the proper way to do this in JavaScript?