Correct Answer: Two alert boxes pop up, the first one displaying "Outer function!", and the second one displaying "Inner function!"
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
Value of document.referrer if a user opens the page from a bookmark?
What's the output? function test() { return 'Hello'; } alert(test());
function a(a1) {this.a1 = a1;} a.prototype.a2 = 'Prototype property'; var c = new a(); Which statement returns true?
Which comparison will return false in equal comparison (==)?
What's the output? self == window;
Which choice will change the source of the image to 'image2.gif' when a user clicks on the image?
How can properties be added to an object class?
Correct way to stop setInterval() from calling a function in JavaScript?
Which will implement a singleton pattern in JavaScript?
Which determines whether cookies are enabled in a browser or not?