Give an example of typeof operator?

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

typeof 25;        

Output :- number
typeof true;
Output :- boolean
typeof undefined;
Output :- undefined
typeof {};
Output :- object


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response