In JavaScript, why should I usually prefer ‘const’ to ‘let’?
Basically, use let if the variable’s value will change during the code use const if it won’t and you / your team want to use const in those situations in the project you’re working on; it’s a matter of style If you do use const, then it’s surprising how often it turns out that the …