Built with blockbuilder.org
Last active
July 22, 2016 18:17
-
-
Save hungvietdo/8a962b3f02cf2bbb6120d8a3a073777e to your computer and use it in GitHub Desktop.
selfcall
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
license: gpl-3.0 |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script type="text/javascript"> | |
var abc = 1234; | |
</script> | |
<!-- First anonymous function called--> | |
<script type="text/javascript" src="selfcall.js"></script> | |
<script type="text/javascript"> | |
var abc = 5678; | |
</script> | |
<!-- Second anonymous function called--> | |
<script type="text/javascript" src="selfcall.js"></script> | |
</body> | |
</html> |
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
(function () { | |
console.log(abc); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment