DEV Community

Gajender Tyagi
Gajender Tyagi

Posted on • Edited on

Well...I'ts hoisting after all

hosisting image from chrom
Well the image is self explanatory. You can get an idea of lexical scope of const and how does hosisting work for const.

For some extra fun change const with --var--

Top comments (0)