Skip to content

Commit 313a45d

Browse files
AdriVanHoudtFishrock123
authored andcommitted
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 5c10898 commit 313a45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/linkedlist.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exports.peek = peek;
2424

2525
// remove the most idle item from the list
2626
function shift(list) {
27-
var first = list._idlePrev;
27+
const first = list._idlePrev;
2828
remove(first);
2929
return first;
3030
}

0 commit comments

Comments
 (0)