mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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:
1 parent
a2621a25e5
commit
3b448a7f12
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user