Does js have a way to select all the contents of the array?

this is text3
stationList [1] .text3

in the first one.

Select text3
stationList [2] .text3

in the second one.

how can I write text3, if I want to select all the contents of the array at once?

Nov.22,2021

let res=stationList.map(e=>{
    return e.text3
})

I wonder if that's what you mean.

stationList = [{text3: '1', aother: 'sda'}, {text3: '2'}, {text3: '3'}]
stationList.map(x=>x.text3)
Menu