4 ms·
Let is a much nicer keyword though. It just reads better. I almost never use variable mutation in JS, and I use let almost everywhere. That lets me use the le
by mbrock 9y ago
Let is a much nicer keyword though. It just reads better.
I almost never use variable mutation in JS, and I use let almost everywhere.
That lets me use the let/const distinction in a way that to me seems even more informative, namely to distinguish actual constants like "site base URL" or "pi".