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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
AdriVanHoudt authored and jasnell committed Oct 10, 2016
1 parent 58f9b6d commit 9578038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/linkedlist.js
Original file line number Diff line number Diff line change
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 9578038

Please sign in to comment.