ES6 Variable Declarations: const, let



  
  
  TLDR


Use const when you can. Otherwise, use let, but never use var.
...
Tags: frontenddev, es6, javascript