JS 用变量作为关联数组的索引关联数组类似对象,遍历关联数组,可以用for...in语法:for(var key in data){ console.log(key + ':' + data[key])}$(fucntion(){ $2023-03-02JavaScript180