Question:

What is the result of the below JavaScript code when the functions get called in the order as mentioned?

function first() {
    window.a = 3;
}
function second() {
    alert(a);
}

Answers:


Keywords:

© 2017 QuizBucket.org