+ 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 Respuesta
+ 2
It's interesting. I didn't know it.
26th Jan 2020, 10:10 AM
xphnx
xphnx - avatar