I have following array:
[
{
fileName: "test.pdf",
fileUrl: "https://test-url1.com/test.pdf",
isDeleted: true
},
{
fileName: "test.pdf",
fileUrl: "https://test-url1.com/test.pdf",
isDeleted: true
}
]
Now I need to create new array from this array which will contain only fileUrl data.
So that new array will have only fileUrl node and all it's links.
Should I use map OR filter method, or any other suggestion for this.
Thanks