ES6 feature, and I vote for let. | JavaScript ES6+: var, let, or const? | JavaScript ES6+: var, let, or const? | Perhaps the most important thing you can learn to be a better coder is to keep things simple. In the context of variables, that means that a single variable should only be used to represent a single …

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.