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);
}
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);
}
© 2017 QuizBucket.org