5 ms·
I can't think of a good real world example atm but Say, you have let a = 1 let b = 2 (a + b) <--- b won't be accessible here. This will als
by searchableguy 6y ago
I can't think of a good real world example atm but
Say, you have
let a = 1
let b = 2
(a + b) <--- b won't be
accessible here.
This will also get flagged by ts. But not everyone uses ts. /shrugs
Feross is right, I guess.
- realharo 6y agoI think eslint would flag it as well for what it's worth (https://eslint.org/demo https://eslint.org/demo, you have to set it to newer ES version in the Rules configuration at the bottom of the page).