egoist/codepan
The issue has been solved
I feel confused about the codepan running result #68
johnsoncheg posted onGitHub
codepan demo:
var a = 1;
console.log(this.a) // undefined
jsbin&codepen demo:
var a = 1
console.log(this.a) // 1
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
Fund this Issue
Rewarded pull request
Fix code execution scope #69submitted bystroncium(1,114)
Click to copy link
Recent activities