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 6, 2016
1 parent 2154bc8 commit b2534f1
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 b2534f1

Please sign in to comment.