diff options
author | David OLIVIER <davidolivier1337@gmail.com> | 2019-11-12 17:57:05 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2019-11-21 08:29:28 +0300 |
commit | f15a3b02816513b7a0b32a39b99cd0138b699f99 (patch) | |
tree | 96fdf7e997053fcb6ca7f4c19c170b4810e88f76 | |
parent | 31a63ab1ece912ac684bcba7aa160ba21e9eabb5 (diff) |
lib: replace var with let
PR-URL: https://github.com/nodejs/node/pull/30381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
-rw-r--r-- | lib/internal/v8_prof_processor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js index a39fbf4743e..7a942d3225a 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'; |