News for hackers. Stuff that matters.
Re:Cheatsheet for the modern JavaScript by mbrock on Sunday October 01, 2017 @01:52PM (#15378910)
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".

There are no comments on this comment yet.