The Wayback Machine - https://web.archive.org/web/20211201014238/https://github.com/nodejs/node/commit/3b448a7f12
Skip to content
Permalink
Browse files
lib: changed var to const in linkedlist
PR-URL: #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>
  • Loading branch information
AdriVanHoudt authored and Myles Borins committed Nov 22, 2016
1 parent a2621a2 commit 3b448a7f120a5fbdaeb565e85cb9896a5d989e03
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 3b448a7

Please sign in to comment.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.