Why typeof does not require parenthesis in javascript, is not it a function ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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