Created
October 6, 2017 09:28
-
-
Save WitkowskiMichau/ea94ad83e77fe7e5f92f40629252cee3 to your computer and use it in GitHub Desktop.
Global context example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 15; | |
console.log(this.a); | |
// => 15 | |
console.log(window.a); | |
// => 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment