From e129f26b06a7b7e6d1eca05a83d783294b5d84e0 Mon Sep 17 00:00:00 2001 From: Adri Van Houdt Date: Sat, 17 Sep 2016 11:55:51 +0200 Subject: [PATCH] internal: changed var to const in linkedlist --- lib/internal/linkedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }