What is the final value of the variable bar in the following code? var foo = 9; bar = 5; (function() { var foo = 2; bar= 1; }()) bar = bar + foo;
Correct Answer: 14
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions
JavaScript MCQs | Topic-wise