From 3b448a7f120a5fbdaeb565e85cb9896a5d989e03 Mon Sep 17 00:00:00 2001 From: Adri Van Houdt Date: Sat, 17 Sep 2016 11:55:51 +0200 Subject: [PATCH] lib: changed var to const in linkedlist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/8609 Reviewed-By: Brian White Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Michaƫl Zasso --- lib/_linklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_linklist.js b/lib/_linklist.js index 02186cfedcb9f6..ea414843eebc9e 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; }