Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

fix: ignore "use strict" directives in ES3 #87

Merged
merged 1 commit into from
Feb 5, 2022
Merged

fix: ignore "use strict" directives in ES3 #87

merged 1 commit into from
Feb 5, 2022

Conversation

mdjermanovic
Copy link
Member

Fixes #86 by setting Scope#isStrict to false on all scopes if ecmaVersion < 5.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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

Successfully merging this pull request may close these issues.

"use strict" in ES3
2 participants