首页 > 其他分享 >console.dir All In One

console.dir All In One

时间:2022-12-29 20:12:13浏览次数:56  
标签:arr console JavaScript xgqfrms properties dir

console.dir All In One

const arr = [
    [
        "james",
        {
            "name":"James Zhao",
            "description":"CEO  ---  Create Employee’s Opportunity"
        }
    ],
    [
        "jerryzhu",
        {
            "name":"Jerry Zhu",
            "description":"    有所作为是生活的最高境界。"
        }
    ],
];

console.log(arr);

console.log(JSON.stringify(arr, null, 4));

// Node.js terminal 中展开显示多层嵌套的对象
console.dir(arr);

image

https://cdn.xgqfrms.xyz/json/app.json

(

标签:arr,console,JavaScript,xgqfrms,properties,dir
From: https://www.cnblogs.com/xgqfrms/p/17013428.html

相关文章