摘要:
function Set() { this.dataStore = []; }; Set.prototype = { constructor: Set, add: function (data) { if (this.dataStore.indexOf(data) -1) { this.dataStore.splice(p... 阅读全文
posted @ 2017-11-08 17:53
柠檬张先生
阅读(240)
评论(1)
推荐(0)
摘要:
十一月读书书单: JS权威指南:一年前浮躁得翻过一遍,没怎么沉下心来去钻研探索,有些东西至今掌握还是不牢固,特别正则那块。 JS数据结构与算法(本博客js数据结构和算法分类的学习文章大部分直接来源于该书):这本书一直想拜读,却苦于没有资源,哪位朋友有高清PDF,麻烦留个言感激你不尽啊。 这两本书或许 阅读全文
posted @ 2017-11-08 17:05
柠檬张先生
阅读(147)
评论(0)
推荐(0)
摘要:
function HashTable() { this.table = new Array(137); }; HashTable.prototype = { constructor: HashTable, simpleHash: function(data) { var total = 0; for (var i = 0; i -1) {... 阅读全文
posted @ 2017-11-08 16:41
柠檬张先生
阅读(250)
评论(0)
推荐(0)
摘要:
function Dictionary() { this.datastore = new Array(); }; Dictionary.prototype = { constructor: Dictionary, add: function(key, value) { this.datastore[key] = value; }, find... 阅读全文
posted @ 2017-11-08 11:28
柠檬张先生
阅读(199)
评论(4)
推荐(0)

浙公网安备 33010602011771号