The large application that I work on doesn’t use
var at all. We always use
const if the value is never reassigned and
let if it is.
There are vanishingly few valid uses for
var: if you need the ability to reassign you get with
let, you almost always want the better scoping rules + inability to redeclare variables in the same scope that you get with that over