diff --git a/lib/_linklist.js b/lib/_linklist.js index 02186cfedc..ea414843ee 100644 --- a/lib/_linklist.js +++ b/lib/_linklist.js @@ -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; }