Skip to content
Permalink
Browse files

lib: replaced var to let in lib/v8.js

PR-URL: #30305
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@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>
  • Loading branch information
bmsdave authored and MylesBorins committed Nov 6, 2019
1 parent 5b8c481 commit 8725a5c935c51915f48e792eedb845c2ea96353c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/v8.js
@@ -165,7 +165,7 @@ function getHeapSpaceStatistics() {
const buffer = heapSpaceStatisticsBuffer;
updateHeapSpaceStatisticsArrayBuffer();

for (var i = 0; i < kNumberOfHeapSpaces; i++) {
for (let i = 0; i < kNumberOfHeapSpaces; i++) {
const propertyOffset = i * kHeapSpaceStatisticsPropertiesCount;
heapSpaceStatistics[i] = {
space_name: kHeapSpaces[i],

0 comments on commit 8725a5c

Please sign in to comment.
You can’t perform that action at this time.