From 8fcc937ce324e05fe6766428bc9c3faf1a605df5 Mon Sep 17 00:00:00 2001 From: Zuckjet <1083941774@qq.com> Date: Wed, 17 Mar 2021 04:41:47 +0800 Subject: [PATCH] fix comments (#983) --- internal/js_parser/js_parser.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/js_parser/js_parser.go b/internal/js_parser/js_parser.go index d4d651c58c3..7414ebbd8de 100644 --- a/internal/js_parser/js_parser.go +++ b/internal/js_parser/js_parser.go @@ -235,8 +235,8 @@ type parser struct { relocatedTopLevelVars []js_ast.LocRef // ArrowFunction is a special case in the grammar. Although it appears to be - // a PrimaryExpression, it's actually an AssigmentExpression. This means if - // a AssigmentExpression ends up producing an ArrowFunction then nothing can + // a PrimaryExpression, it's actually an AssignmentExpression. This means if + // a AssignmentExpression ends up producing an ArrowFunction then nothing can // come after it other than the comma operator, since the comma operator is // the only thing above AssignmentExpression under the Expression rule: //