BIT251 ยท 2080 ยท 5 marks
How exception handling is done in JavaScript? Write a JavaScript program that will handle an exception when an input number is divided by zero.
How exception handling is done in JavaScript? Write a JavaScript program that will handle an exception when an input number is divided by zero. [5]
Web Technology IChapter 9: JavaScript Advanced FeaturesException handling try catch