Skip to content

Instantly share code, notes, and snippets.

@RinatMullayanov
Created April 7, 2016 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RinatMullayanov/47c51f1c97bbf1e9b2c8ad9ccf4067f1 to your computer and use it in GitHub Desktop.
Save RinatMullayanov/47c51f1c97bbf1e9b2c8ad9ccf4067f1 to your computer and use it in GitHub Desktop.
Summary of ECMAScript 6

Block Bindings

The current best practice for block bindings is to use const by default and only use let when you know a variable’s value needs to change. This ensures a basic level of immutability in code that can help prevent certain types of errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment