Created
August 15, 2019 18:17
-
-
Save artemhp/4d7cb4cad231c6dcccfe262b017c623c to your computer and use it in GitHub Desktop.
exposing-variables.js
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 () { | |
var privateVariable = 'a'; | |
window.publicVariable = 'b'; | |
})(window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment