Why typeof var, const - error, but typeof let - undefined? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 2
It's interesting. I didn't know it.
26th Jan 2020, 10:10 AM
xphnx
xphnx - avatar