Q. Which function is used to execute a function once after a delay?

  • (A) setTimeout()
  • (B) setInterval()
  • (C) wait()
  • (D) delay()
πŸ’¬ Discuss
βœ… Correct Answer: (A) setTimeout()
Explanation: setTimeout() runs a function once after the specified number of milliseconds.
Explanation by: Mr. Dubey
setTimeout() runs a function once after the specified number of milliseconds.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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