(function(){
var x = y = 5;
})();
console.log("x defined? " + (typeof x !== 'undefined'));
console.log("y defined? " + (typeof y !== 'undefined'));
@misterds it should be right! please, run code in the browser console. Or check the explanation
2017 Dec 12, 11:36:18 AM
@Kot_leto it should be correct actually. Try to check it in the console ;)
2017 May 17, 11:54:39 PM
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати