A

Admin • 833.24K Points
Coach

Q. Which of the following is used to detect the type of a variable?

  • (A) typeof
  • (B) instanceof
  • (C) isType()
  • (D) detect()
  • Correct Answer - Option(A)
  • Views: 35
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

typeof is used to check the data type of a variable or expression.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.