Articles under the 'Var' tag
Analysis of front-end variables to enhance var, let
Let's start with a question to warm up
var a = 12,
b = 13,
c = 14;
function fn(a) {
console.log(a, b, c);
var b = c = a = 20;
console.log(a, b, b)
}
fn(a);
console.log(a, b, c)
What the answer is will not be published first, but first we need to kno
...
More >>
2022-09-29
JavaScript
/
Front End
/
Var
/
Let