lib: changed var to const in linkedlist

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Adri Van Houdt 2016-09-17 11:55:51 +02:00 committed by James M Snell
parent 2154bc89d8
commit b2534f11c6

View File

@ -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;
}