Last active
May 26, 2019 14:44
-
-
Save prmishra/98b20f728f0f88932cbaa94a6555d42d to your computer and use it in GitHub Desktop.
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 = 3; | |
})(); | |
console.log("a defined? " + (typeof a !== 'undefined')); | |
console.log("b defined? " + (typeof b !== 'undefined')); | |
// node script.js |
sagar-more
commented
Apr 15, 2019
(function(){
var a, b;
a = b = 3;
})();
console.log("a defined? " + (typeof a !== 'undefined'));
console.log("b defined? " + (typeof b !== 'undefined'));
// node script.js
(function(){
var a,b;
a=b = 3;
})();
console.log("a defined? " + (typeof a !== 'undefined'));
console.log("b defined? " + (typeof b !== 'undefined'));
(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