From 391457e96b76ad0a043f27d237d406fe6a8881b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominykas=20Bly=C5=BE=C4=97?= Date: Tue, 4 Nov 2025 09:59:22 +0200 Subject: [PATCH] fix: use local variable --- lexer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer.js b/lexer.js index aaf7dde..c5380a4 100755 --- a/lexer.js +++ b/lexer.js @@ -288,7 +288,7 @@ function tryBacktrackAddStarExportBinding (bPos) { // `Object.` `prototype.`? hasOwnProperty.call(` IDENTIFIER `, ` IDENTIFIER$2 `)` function tryParseObjectHasOwnProperty (it_id) { - ch = commentWhitespace(); + let ch = commentWhitespace(); if (ch !== 79/*O*/ || !source.startsWith('bject', pos + 1)) return false; pos += 6; ch = commentWhitespace();