Which is the correct syntax of JavaScript typeof operator?

41. Which is the correct syntax of JavaScript typeof operator?

  1. typeof variable/value
  2. typeof(variable/value)
  3. Both A. and B.
  4. None of the above

Answer: C) Both A. and B.

Explanation:

Both of the syntaxes can be used for JavaScript typeof operator.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.