Created
June 27, 2016 08:38
-
-
Save jurosh/1b0cd72b518b16a316f5166afe890bf1 to your computer and use it in GitHub Desktop.
Narnia: global ids
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
<html> | |
<head> | |
</head> | |
<body> | |
<div id="daco"></div> | |
<script> | |
console.log(daco); | |
</script> | |
<script> | |
"use strict"; | |
if (typeof daco !== 'undefined') { | |
console.log('co ti praaaaska... otvorte satnik ideme do Narnie'); | |
} | |
console.log(daco); | |
daco = 'ddd'; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment