Es6 object-type array conversion one-dimensional array?

arr= [{id:1,name:2}, {id:2,name:22}, {id:3,name:222}];

finally want to realize arr= [2JI 22222];

is there anything ES6 can do?

Jan.18,2022

arr = arr.map (item = > item.name)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32624-4ea73.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32624-4ea73.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?