业精于勤,荒于嬉。

摘要: 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; ... 阅读全文
posted @ 2012-04-10 22:58 叶知泉 阅读(628) 评论(0) 推荐(0) 编辑