What is the output of `typeof function(){}`?

JavaScript Associate Easy

JavaScript Associate — Easy

What is the output of `typeof function(){}`?

Key points

  • JavaScript functions have a unique data type
  • The `typeof` operator returns the data type of a variable or expression
  • Functions are treated differently than regular objects in JavaScript

Ready to go further?

Related questions