2 ms·
In the end, you still need to deal with var. For legacy code, yes. But now, if you target modern browsers, you can build a whole web app using only let, and n
by batista 15y ago
In the end, you still need to deal with var.
For legacy code, yes.
But now, if you target modern browsers, you can build a whole web app using only let, and not be bothered about var and the old scope system at all.