Introduction
Using let and var helps you control if a value can change or not. This makes your code safer and easier to understand.
When you want to store a value that should never change, like a constant number or name.
When you need to change a value later, like a score in a game or a user's input.
When you want to avoid mistakes by accidentally changing values that should stay the same.
When you want your code to be clearer about which values are fixed and which can change.