From f15a3b02816513b7a0b32a39b99cd0138b699f99 Mon Sep 17 00:00:00 2001 From: David OLIVIER Date: Tue, 12 Nov 2019 15:57:05 +0100 Subject: [PATCH] lib: replace var with let PR-URL: https://github.com/nodejs/node/pull/30381 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: David Carlier Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- lib/internal/v8_prof_processor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js index a39fbf4743e76f..7a942d3225a2a9 100644 --- a/lib/internal/v8_prof_processor.js +++ b/lib/internal/v8_prof_processor.js @@ -18,7 +18,7 @@ const scriptFiles = [ 'internal/deps/v8/tools/SourceMap', 'internal/deps/v8/tools/tickprocessor-driver' ]; -var script = ''; +let script = ''; scriptFiles.forEach((s) => { script += internalBinding('natives')[s] + '\n';