πŸ“Š JavaScript
Q. What will be the reaction when a catch clause has no conditionals ?
  • (A) Takes it to be 0
  • (B) Takes it to be 1
  • (C) Takes it to be true
  • (D) Takes it to be false
πŸ’¬ Discuss
βœ… Correct Answer: (C) Takes it to be true

Explanation: If a catch clause has no conditional, it behaves as if it has the conditional if true, and it is always triggered if no clause before it was triggered.

Explanation by: Mr. Dubey
If a catch clause has no conditional, it behaves as if it has the conditional if true, and it is always triggered if no clause before it was triggered.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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