📜  打印对象键值javascript代码示例

📅  最后修改于: 2022-03-11 15:03:19.977000             🧑  作者: Mango

代码示例1
filters.forEach(function(obj, index){
    console.log(index);
    for (var key in obj){
        console.log(key, obj[key]);
    }
});