如何在调试控制台里输出数组里所有元素的某个属性

for(let i=0;i<arr.length;i++){console.log(arr[i].x)}
posted @ 2021-06-23 15:17  流星曳尾  阅读(150)  评论(0编辑  收藏  举报