+ 1

Why typeof var, const - error, but typeof let - undefined?

Hello! Why it code outputs "Unexpected token": typeof var; //error typeof const; //error But typeof let - undefined? typeof let; //undefined

11th Aug 2019, 3:52 PM
ŠŠ»ŠµŠŗсŠµŠ¹ ŠŠ»ŠµŠŗсŠµŠµŠ²
ŠŠ»ŠµŠŗсŠµŠ¹ ŠŠ»ŠµŠŗсŠµŠµŠ² - avatar
1 Answer
+ 2
It's interesting. I didn't know it.
26th Jan 2020, 10:10 AM
xphnx
xphnx - avatar