Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Compatibility with use strict #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Compatibility with use strict #12

wants to merge 3 commits into from

Conversation

mislav
Copy link

@mislav mislav commented Feb 6, 2018

In "strict" JS mode, the expression function(){ return this }() cannot be used to access the global object.

This file would be affected by strict mode if it were concatenated with another script that has use strict.

The expression `function(){ return this }()` isn't compatible with `use strict`.
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