Why typeof does not require parenthesis in javascript, is not it a function ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 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