const b = 8;
const b = a;
console.log(a); // will return 8
not print 8?
I should have probably used let in this example. Good catch.
Sorry but even with let, I don't think it works... Are you sure?
Yeah, I updated it to use var, at least for now.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.