Skip to content

Commit 3b448a7

Browse files
AdriVanHoudtMyles Borins
authored and
Myles Borins
committed
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>
1 parent a2621a2 commit 3b448a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_linklist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports.peek = peek;
1717

1818
// remove the most idle item from the list
1919
function shift(list) {
20-
var first = list._idlePrev;
20+
const first = list._idlePrev;
2121
remove(first);
2222
return first;
2323
}

0 commit comments

Comments
 (0)