会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
泰安大盘鸡
博客园
首页
新随笔
联系
订阅
管理
2014年3月13日
JS模拟Dictionary
摘要: function Map() { this.keys = new Array(); this.data = new Array(); //添加键值对 this.set = function (key, value) { if (this.data[key] == null) {//如键不存在则身【键】数组添加键名 this....
阅读全文
posted @ 2014-03-13 22:35 美酒与歌
阅读(365)
评论(0)
推荐(0)
编辑
公告