Q. What is the default state of a JavaScript Promise?

  • (A) pending
  • (B) fulfilled
  • (C) rejected
  • (D) resolved
πŸ’¬ Discuss
βœ… Correct Answer: (A) pending
Explanation: A Promise starts in the 'pending' state before it is fulfilled or rejected.
Explanation by: Mr. Dubey
A Promise starts in the 'pending' state before it is fulfilled or rejected.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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