diff --git a/lib/internal/linkedlist.js b/lib/internal/linkedlist.js index d50e3415aa4b54..15f06c0efe8f05 100644 --- a/lib/internal/linkedlist.js +++ b/lib/internal/linkedlist.js @@ -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; }