标签:
function AA (){
var r={};
this.get = function(key){
return r[key];
}
this.put = function(key,x){
r[key] = x;
}
this.each = function (Func) {
for (var v in r) {
Func(v, r[v]);
}
}
this.remove = function (key) {
delete r[key];
}
}
标签:
原文地址:http://www.cnblogs.com/zzq-include/p/4299324.html