js从json数组中取某一对象组成新数组 例如含有以下json数组 var list=[{a:1,b:'OK'},{a:2,b:'Hello'},{a:3,b:'Yes'}] 想要从中取出a的新数组: var arr=list.map(t => t.a) 记录编程的点滴,体会学习的乐趣