var, and while that still works like it always has, it is generally said that
const are replacements to the point we rarely (if ever) need
var anymore. This doodle explanation does a pretty good job, if you need a refresher.
What is up for debate is the general coding style of when you should pick one or the other. There are situations where you have … Read article “let vs. const”