Q. What will be the output of: typeof Promise?

  • (A) function
  • (B) object
  • (C) undefined
  • (D) promise
πŸ’¬ Discuss
βœ… Correct Answer: (A) function
Explanation: Promise is a constructor function, so typeof Promise returns 'function'.
Explanation by: Mr. Dubey
Promise is a constructor function, so typeof Promise returns 'function'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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