Skip to content

Commit 0912cb4

Browse files
authored
fix: use local variable (#115)
1 parent c79e9db commit 0912cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lexer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function tryBacktrackAddStarExportBinding (bPos) {
288288

289289
// `Object.` `prototype.`? hasOwnProperty.call(` IDENTIFIER `, ` IDENTIFIER$2 `)`
290290
function tryParseObjectHasOwnProperty (it_id) {
291-
ch = commentWhitespace();
291+
let ch = commentWhitespace();
292292
if (ch !== 79/*O*/ || !source.startsWith('bject', pos + 1)) return false;
293293
pos += 6;
294294
ch = commentWhitespace();

0 commit comments

Comments
 (0)