Home »
MCQs »
JavaScript MCQs
Which is the correct syntax of JavaScript typeof operator?
41. Which is the correct syntax of JavaScript typeof operator?
- typeof variable/value
- typeof(variable/value)
- Both A. and B.
- None of the above
Answer: C) Both A. and B.
Explanation:
Both of the syntaxes can be used for JavaScript typeof operator.