What do we mean by typeof operator?

 Posted by vishalneeraj-24503 on 1/3/2015 | Category: JavaScript Interview questions | Views: 1721 | Points: 40
Answer:

The typeof operator is an in-built operator and is used to identify the type of an object.
It always returns a String value,so we should always compare return value to a string.
typeof is an operand and not a function.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response