var arry=[{"name":"张三","age":12},{"name":"李四","age":16}] arry.forEach(item=>{ console.log("姓名:"+item.name+",年龄:"+item.age); })