Why typeof var, const - error, but typeof let - undefined? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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