摘要:
lmap = function() { this.keys = new Array(); this.values = new Array();};lmap.prototype = { put : function(key, value) { if (!key) throw 'your key is not valid'; for (index in this.values) { if (this.values[index] == null) { this.keys[index] = key; this.values[index] = value; return; ... 阅读全文