HOTSPOT
You test a webpage that contains the following JavaScript code:
The webpage also contains the following markup:
You need to ascertain how the webpage responds when the user enters characters and then clicks the add and
divide buttons.
For each statement in the table, select Yes if the action causes the webpage to behave as described. Select No
if it does not. Make only one selection in each column.
Hot Area:

Correct.
1) 23
2) Infinity
3) unhandled exception
15
1
Answer is correct as you listed above.
Can be verified in console by typing below code.
onerror = unhandled;
function unhandled(msg, url, line){
alert(‘unhandled exception occurred!!!’)
};
alert(‘2’/’0’);
0
0
Question is wrang. to my mind if user enter a symbol into textbox 2 division value must be 2/’a’ not 2/a (because jquery val function returns ‘a’)
in this case first value is Nan and second throw exception
3
0