Skip to content

Commit 313a45d

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/linkedlist.js

Lines changed: 1 addition & 1 deletion
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)