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.
Created
April 7, 2016 12:18
-
-
Save RinatMullayanov/47c51f1c97bbf1e9b2c8ad9ccf4067f1 to your computer and use it in GitHub Desktop.
Summary of ECMAScript 6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment