标签:javascript jquery map
var map = {}; // 类似:Map map = new HashMap(); map[key] = value; // 类似:map.put(key, value); var value = map[key]; // 类似:Object value = map.get(key); var has = key in map; // 类似:boolean has = map.containsKey(key); delete map[key]; // 类似:map.remove(key);
标签:javascript jquery map
原文地址:http://blog.csdn.net/wangxin_wangxin/article/details/41212689