DEV Community


Discussion on: Javascript ES6 Declarations Guide.

smeet_j profile image
Smeet J Thakkar

This is very well-explained, thank you.

As a beginner I am still working with var and introduced to let, const via this blog, so really thankful/appreciative of it. Reading a lot about scoping chains and execution stack is on my to-do. That said, I just had a minor confusion on the const examples for reassignment and redeclaration. It seems the examples probably are incorrect? On both cases, we are reassigning (not redeclaring), right?

anwargul0x profile image
Anwar Gul Author • Edited

Thank you @Smeet for pointing out the issue. I have placed the wrong image earlier but now I have changed it with the correct image.