Re:What’s New in ES2019
by ojosilva on Tuesday July 30, 2019 @10:50AM
(#20565306)
It's not the same. For instance, you could not use a `const` variable.
Also having "phantom" scope blocks get very nasty to read once you have more involved logic, as the block itself has no implied meaning and the programmer has to walk a few lines into it to get what's going on.
Also having "phantom" scope blocks get very nasty to read once you have more involved logic, as the block itself has no implied meaning and the programmer has to walk a few lines into it to get what's going on.