This code apparently checks if a variable is true, and if not, creates the variable:
(function(a){
a || (a = "Default value");
})();
Why does it only work when the defect is made with parentheses? , I mean:
(a = "Default value")
Also,...
asked by
15.12.2017 / 04:21