摘要:
ES6 provides Map, it is a set of k-v pair. Key can be number, string, object, function and even undefined.var m = new Map();Methods:1. set(k,v)m.set("... 阅读全文
posted @ 2015-01-02 05:43
Zhentiw
阅读(238)
评论(0)
推荐(0)
摘要:
Es6 provides "Set", it likes array but the data inside should be unqiue."Set" is a construct function, you should call:var s = new Set();Methods:1.add... 阅读全文
posted @ 2015-01-02 05:35
Zhentiw
阅读(202)
评论(0)
推荐(0)

浙公网安备 33010602011771号