Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

fix: missing const before declarations - #48

Open
amaanq wants to merge 1 commit into
emiasims:mainfrom
amaanq:strict
Open

fix: missing const before declarations#48
amaanq wants to merge 1 commit into
emiasims:mainfrom
amaanq:strict

Conversation

@amaanq

@amaanq amaanq commented Oct 13, 2024

Copy link
Copy Markdown
Contributor

The grammar will fail to evaluate if JS is run in 'strict mode', since the variable assignments are assigning them as globals, which is disallowed in strict mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant