summaryrefslogtreecommitdiff
path: root/chromium/v8/tools/consarray.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/tools/consarray.mjs')
-rw-r--r--chromium/v8/tools/consarray.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/v8/tools/consarray.mjs b/chromium/v8/tools/consarray.mjs
index 450e18f6638..1dc2afe886b 100644
--- a/chromium/v8/tools/consarray.mjs
+++ b/chromium/v8/tools/consarray.mjs
@@ -72,7 +72,7 @@ ConsArray.prototype.atEnd = function() {
* Returns the current item, moves to the next one.
*/
ConsArray.prototype.next = function() {
- var result = this.currCell_.data[this.currCellPos_++];
+ const result = this.currCell_.data[this.currCellPos_++];
if (this.currCellPos_ >= this.currCell_.data.length) {
this.currCell_ = this.currCell_.next;
this.currCellPos_ = 0;