Permalink
Browse files

lib: changed var to const in linkedlist

PR-URL: #8609
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information...
AdriVanHoudt authored and jasnell committed Sep 17, 2016
1 parent 2154bc8 commit b2534f11c6f8e22674a5b0551b1825bf7b7b88a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/linkedlist.js
@@ -24,7 +24,7 @@ exports.peek = peek;
// remove the most idle item from the list
function shift(list) {
var first = list._idlePrev;
const first = list._idlePrev;
remove(first);
return first;
}

0 comments on commit b2534f1

Please sign in to comment.