var obj = [ { name: "xuyan", age: "13" },
{ name: "lili", age: "23" }, { name: "zhangzhang", age: "16" } ]; console.log(obj);
结果如下:手动打开
console.table(obj);
还可以过滤显示属性:
console.table(obj,"name"); console.table(obj,["name","age"])
var obj = [ { name: "xuyan", age: "13" },
{ name: "lili", age: "23" }, { name: "zhangzhang", age: "16" } ]; console.log(obj);
结果如下:手动打开
console.table(obj);
还可以过滤显示属性:
console.table(obj,"name"); console.table(obj,["name","age"])