Skip to content

Commit

Permalink
lib: changed var to const in linkedlist
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdriVanHoudt authored and Fishrock123 committed Oct 11, 2016
1 parent 5c10898 commit 313a45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/linkedlist.js
Expand Up @@ -24,7 +24,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;
}
Expand Down

0 comments on commit 313a45d

Please sign in to comment.