Q. What does a JavaScript Promise represent?

  • (A) An eventual completion or failure of an asynchronous operation
  • (B) A synchronous operation
  • (C) An event listener
  • (D) A new thread
πŸ’¬ Discuss
βœ… Correct Answer: (A) An eventual completion or failure of an asynchronous operation
Explanation: Promises are used to handle asynchronous operations by representing their future result.
Explanation by: Mr. Dubey
Promises are used to handle asynchronous operations by representing their future result.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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