Created
April 15, 2019 18:17
-
-
Save sagar-more/dd177b0481cb4e11b64468adc4c186b8 to your computer and use it in GitHub Desktop.
No Global
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 a,b; | |
a=b = 3; | |
})(); | |
console.log("a defined? " + (typeof a !== 'undefined')); | |
console.log("b defined? " + (typeof b !== 'undefined')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment