Q. Which of the following is used to handle exceptions in JavaScript?

  • (A) try-catch
  • (B) do-except
  • (C) if-error
  • (D) error-handler
πŸ’¬ Discuss
βœ… Correct Answer: (A) try-catch
Explanation: try-catch is used to handle exceptions in JavaScript.
Explanation by: Chandani
try-catch is used to handle exceptions in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
88%
Success Rate