Explain the typeof operator?



Explain the typeof operator?..

Answer / Saurabh Kumar Singh

The 'typeof' operator in JavaScript returns a string representing the data type of its operand. It can be used to test the data types of variables, functions, and objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What are the main functions performed by javascript statements?

1 Answers  


What does _ mean in javascript?

1 Answers  


Difference json arrary vs json object ?

1 Answers  


Is Exception handling possible in Javascript?

1 Answers  


program showing string concatenation?

4 Answers  


Are Javascript and JScript the same?

1 Answers  


Give an example of closure?

1 Answers  


write a program using javascript/ vbscript that checks if two matrices have identical values in all the elements.

1 Answers  


How do you check if a value is a number in javascript?

1 Answers  


Is there any class in javascript?

1 Answers  


How to write normal text code using JavaScript dynamically?

1 Answers  


How do you access an element in an HTML document with JavaScript?

1 Answers  


Categories