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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent a2621a2 commit 3b448a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_linklist.js

+1-1
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)