Skip to content

Commit 63256e1

Browse files
authored
chore: fix some comments (#4211)
Signed-off-by: jinjingroad <[email protected]>
1 parent d803f72 commit 63256e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/js_lexer/js_lexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const (
114114

115115
// Identifiers
116116
TIdentifier // Contents are in lexer.Identifier (string)
117-
TEscapedKeyword // A keyword that has been escaped as an identifer
117+
TEscapedKeyword // A keyword that has been escaped as an identifier
118118

119119
// Reserved words
120120
TBreak

internal/js_parser/js_parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9175,7 +9175,7 @@ func (p *parser) mangleStmts(stmts []js_ast.Stmt, kind stmtsKind) []js_ast.Stmt
91759175
body = append(body, stmts[i+1:]...)
91769176

91779177
// Don't do this transformation if the branch condition could
9178-
// potentially access symbols declared later on on this scope below.
9178+
// potentially access symbols declared later on this scope below.
91799179
// If so, inverting the branch condition and nesting statements after
91809180
// this in a block would break that access which is a behavior change.
91819181
//

0 commit comments

Comments
 (0)