SOURCE

let car1 = {
  type: 'benci',
  doors: 2,
  weigth: 1950
}
let car2 = {
  type: 'bmw',
  doors: 4,
  weigth: 1850
}
let car3 = {
  type: 'audi',
  doors: 4,
  weigth: 1750
}
let abc = [car1, car2, car3].map((ele, i, arr) => {
  return ele.type + ':' + ele.weigth
},[]) 
console.log(abc)
console 命令行工具 X clear

                    
>
console