📌  相关文章
📜  js 循环遍历关联数组 - Javascript 代码示例

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

代码示例1
var months = [];
months["jan"] = "January";
months["feb"] = "February";
months["mar"] = "march";

for (var key in months) {
    var value = months[key];
    console.log(key, value);
}