summaryrefslogtreecommitdiff
path: root/lib/internal/linkedlist.js
diff options
context:
space:
mode:
authorAdri Van Houdt <adri.van.houdt@gmail.com>2016-09-17 11:55:51 +0200
committerJames M Snell <jasnell@gmail.com>2016-10-06 16:06:19 -0700
commitb2534f11c6f8e22674a5b0551b1825bf7b7b88a0 (patch)
treed13258e14c36df47b0b5dd9c9deca2a61d44b261 /lib/internal/linkedlist.js
parent2154bc89d8ea16be90e14ff313c4bbcf7443472f (diff)
downloadandroid-node-v8-b2534f11c6f8e22674a5b0551b1825bf7b7b88a0.tar.gz
android-node-v8-b2534f11c6f8e22674a5b0551b1825bf7b7b88a0.tar.bz2
android-node-v8-b2534f11c6f8e22674a5b0551b1825bf7b7b88a0.zip
lib: changed var to const in linkedlist
PR-URL: https://github.com/nodejs/node/pull/8609 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/internal/linkedlist.js')
-rw-r--r--lib/internal/linkedlist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/linkedlist.js b/lib/internal/linkedlist.js
index d50e3415aa..15f06c0efe 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;
}