C# has const string a = “Hello, World”;
var in js is legacy, and default should be let, but changing that would break everything
C# has const string a = “Hello, World”;
var in js is legacy, and default should be let, but changing that would break everything
Damn! Same here, red hat 99, but switched to Debian quite fast
True, but var and let are not same in js, so there is three.
if(true) {
var a = "dumdum"
}
console.log(a)
Is valid and functioning javascript. With let it is not.