diff options
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apis.js b/src/apis.js index 098d9cdd..0e94e2a5 100644 --- a/src/apis.js +++ b/src/apis.js @@ -98,12 +98,12 @@ HashQueueMap.prototype = { } } }, - + /** * return the first item without deleting it */ peek: function(key) { - var array = this[key = hashKey(key)]; + var array = this[hashKey(key)]; if (array) { return array[0]; } |
