Which JavaScript operator is used to determine the type of a variable?

Which JavaScript operator is used to determine the type of a variable?

  1. typeof
  2. TypeOf
  3. typeOf
  4. sizeof
2 Likes

typeof will be the correct answer. Keep learning

1 Like