const list = [
{
user: {
id: 22,
name: 'Almaz',
email: 'checkforce@gopro.soft',
userSettings: null
},
timestamp: 1615889273000
},
{
user: {
id: 22,
name: 'Almaz',
email: 'checkforce@gopro.soft',
userSettings: null
},
timestamp: 1615889286000
},
{
user: {
id: 10,
name: 'Loli',
email: 'lol@gopro.soft',
userSettings: null
},
timestamp: 1615889323000
},
{
user: {
id: 12,
name: 'Operator 12',
email: 'operator12@example.com',
userSettings: {
avatar: '/images/avatars/avatar1.svg'
}
},
timestamp: 1615889364000
}
]
как получить список
user.id? то есть [22, 10, 12]