0
Output
Please explain me the output for the following code: function foo(a){ var b = 5; function bar(a){ return b + a; } return bar(b++); } console.log(foo(8));
2 Answers
+ 1
Thanks ~ swim ~ great explanation lđŻđ„đ
Please explain me the output for the following code: function foo(a){ var b = 5; function bar(a){ return b + a; } return bar(b++); } console.log(foo(8));