📜  javascript 将字典推入数组 - Javascript 代码示例

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

代码示例2
var d = {}

for (var i in input) {
    var datum = input[i];
    d[datum.key] = datum.val
}