What will be the output when the following code is executed?
var book;
(function () {
var title = “Azom Kack”;
book = {
getAuthor: function () {
return author;
}
};
}());
Correct Answer:
undefined
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions