Error Handling in Javascript

@T-Bone

This question paper focuses on the "Error Handling" of Javascript. These Multiple Choice Questions (mcq) should be practiced to improve the Javascript skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

This question paper focuses on the "Error Handling" of Javascript. These Multiple Choice Questions (mcq) should be practiced to improve the Javascript skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

Questions

1. What is the code snippet to go back to a history thrice?

Mark the correct option

2. What will be the output of the following JavaScript code? function myfun() { document.getElementById ("demo").innerHTML = Boolean(21 > 15); }

Mark the correct option

3. What will be the output of the following JavaScript code? function myfun() { document.getElementById ("demo").innerHTML = Boolean(15.00 === 15); }

Mark the correct option

4. What will be the output of the following JavaScript code? var b5 = Boolean('false'); document.getElementById ("demo").innerHTML =b5;

Mark the correct option

5. What will be the output of the following JavaScript code? function myfun() { var a = ""; document.getElementById ("demo").innerHTML = Boolean(a); }

Mark the correct option

6. What will be the output of the following JavaScript code? function myfun() { var a = null; document.getElementById ("demo").innerHTML = Boolean(a); } }

Mark the correct option

7. The inner frame within a top-level window can be referred to as _____________

Mark the correct option

8. How are windows, tabs, iframes, and frames treated according to client-side javascript?

Mark the correct option

9. Each tab in the single web browser window is called as ____________

Mark the correct option

10. When will the browser invoke the handler?

Mark the correct option

Index of Questions