summaryrefslogtreecommitdiff
path: root/test/parallel/test-util-inspect.js
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-10-08 23:11:29 +0530
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-10-27 23:03:33 +0530
commitaaf9b488e28cb904be2ceec032b3fb2dbe532d6d (patch)
tree15cc90c71c8288c740ddfcb31fcb29a566b906bc /test/parallel/test-util-inspect.js
parentb0e7b362c2ffe91d785446f420629e52eb793508 (diff)
downloadnode-new-aaf9b488e28cb904be2ceec032b3fb2dbe532d6d.tar.gz
lib,test: update let to const where applicable
As per the `prefer-const` eslint rule, few instances of `let` have been identified to be better with `const`. This patch updates all those instances. Refer: https://github.com/nodejs/node/issues/3118 PR-URL: https://github.com/nodejs/node/pull/3152 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Diffstat (limited to 'test/parallel/test-util-inspect.js')
-rw-r--r--test/parallel/test-util-inspect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js
index 444c0168a4..320d5e444a 100644
--- a/test/parallel/test-util-inspect.js
+++ b/test/parallel/test-util-inspect.js
@@ -135,7 +135,7 @@ map.set(1, 2);
var mirror = Debug.MakeMirror(map.entries(), true);
var vals = mirror.preview();
var valsOutput = [];
-for (let o of vals) {
+for (const o of vals) {
valsOutput.push(o);
}