DEV Community

Discussion on: JavaScript 101: variables

Collapse
arashkiani profile image
Arash • Edited on

I personally only use const in shippable code, because it's immutable.

The only use case for let I have is in test files.

Backticks aka template literals is the most efficient way for js to combine variables. And yes it's more elegant.