Question:

Which of the following is the output of the below JavaScript code?

function getFunc() {
    var a = 7;
    return function(b) {
        alert(a+b);
    }
}
var f = getFunc();
f(5);

Answers:


Keywords:

© 2017 QuizBucket.org