+ 1

Why typeof does not require parenthesis in javascript, is not it a function ?

var a = 1 alert (typeof a)

17th Aug 2017, 11:51 PM
The Gocho´s
The Gocho´s - avatar
1 Respuesta
+ 3
Thanks I understood, it was what I thought is an operator and not a function.
18th Aug 2017, 2:43 AM
The Gocho´s
The Gocho´s - avatar