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 Myles Borins committed Nov 22, 2016
1 parent a2621a2 commit 3b448a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_linklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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 3b448a7

Please sign in to comment.