Javascipt自定义哈希表

Javascipt自定义哈希表

function Hash() { var self = this; self.data = ; self.add = function(key, value){ self.data.push(); }; self.get = function(key){ var arr = self.data; for(i ...

2019-11-13 xenice 1726 阅读