update files

This commit is contained in:
nuintun 2015-12-04 14:10:52 +08:00
parent 24e6a225ec
commit a80dd776d9

View File

@ -71,7 +71,7 @@ LRUCache.prototype.put = function (key, value){
* } * }
*/ */
LRUCache.prototype.shift = function (){ LRUCache.prototype.shift = function (){
// todo: handle special case when limit == 1 // todo: handle special case when limit === 1
var entry = this.head; var entry = this.head;
if (entry) { if (entry) {