Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in js_parser_lower.go #2771

Merged
merged 1 commit into from Dec 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/js_parser/js_parser_lower.go
Expand Up @@ -467,7 +467,7 @@ func (p *parser) lowerFunction(
//
// Note that if the arrow function references "arguments" in its body
// (even if it's inside another nested arrow function), that reference
// to "arguments" will have to be subsituted with a captured variable.
// to "arguments" will have to be substituted with a captured variable.
// This is because we're changing the arrow function into a generator
// function, which introduces a variable named "arguments". This is
// handled separately during symbol resolution instead of being handled
Expand Down