mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
lib: replaced var to let in lib/v8.js
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
cd696959d9
commit
f372867a40
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user