Q. What will be the output of typeof function(){}?

  • (A) function
  • (B) object
  • (C) undefined
  • (D) string
πŸ’¬ Discuss
βœ… Correct Answer: (A) function
Explanation: typeof returns 'function' for function declarations.
Explanation by: Mr. Dubey
typeof returns 'function' for function declarations.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate