We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
window
It's legal for the user to shadow window with a local variable:
let window = 'whatever'; class Foo {}
Which will result in:
let window = 'whatever'; class Foo {} window.__CLASSIC_OWN_CLASSES__.set(Foo, true);
which throws an exception.
I think the output should change to:
__CLASSIC_OWN_CLASSES__.set(Foo, true);
so it's always accessing the global scope, regardless of what happens to window.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's legal for the user to shadow
window
with a local variable:Which will result in:
which throws an exception.
I think the output should change to:
so it's always accessing the global scope, regardless of what happens to
window
.The text was updated successfully, but these errors were encountered: