let's say I have an array:
arr = [
{id: 1 , content: 'content string 1' , ... }
{id: 2 , content: 'content string 2' , ... }
{id: 3 , content: 'content string 3' , ... }
{id: 4 , content: 'content string 4' , ... }
{id: 5 , content: 'content string 5' , ... }
]
I want to get content string from this array and put this into a new array Like:
newArray = ['content string 1', 'content string 2', 'content string 3', 'content string 4', 'content string 5' ]
I've seen many articles on web for the methods to copy values from objects into new array, but not seems to be working.