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:

Anyone able to tell why the first one is ‘No’ ? To me it sounds like it should be ‘Yes’…
0
0
it always displays value of int1 regardles value of int2
0
0
sorry, it simply concat values,
0
0
String + String is a string as output.
0
0
firs statement: result: 23 (concatenation)
second statement result: infinity (unhandled exception…handled function isn’t called…)
third statement: result: ‘there has been…’
0
0
1 – NO (it adds strings by concat)
2 – NO (result is infinity)
3 – NO (result is NaN)
0
3
Agree
0
1
all are no!!
0
1