Closed johnsoncheg closed 5 years ago
When I print the window
Object, the console panel show [Object window]
, it seems that the code executed is isolated from the page window
Object unless I manually assign window.a = 1
@issuehunt has funded $100.00 to this issue.
@egoist has rewarded $70.00 to @stroncium. See it on IssueHunt
codepan demo:
jsbin&codepen demo:
judge from the result above, I think something has gone wrong with codepan's code. I guess it may has something to do with the
strict mode
IssueHunt Summary
#### [ stroncium](https://issuehunt.io/u/stroncium) has been rewarded. ### Sponsors (Total: $100.00) - [ issuehunt](https://issuehunt.io/u/issuehunt) ($100.00) ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/egoist/codepan/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.