可以使用jquery中的each()函数。$.each(obj, function(i) { alert(obj[i]); }); function 也可以写为function(key,value){ }key,value 就是map的key, value
返回值的类型是什么?