Posted by: A_GuY June 21, 2016
Solve this - iii
Login in to Rate this Post:     0       ?        
What will the console output be and why?

(function(x) {
    return (function(y) {
        console.log(x);
    })(2)
})(1);
Last edited: 21-Jun-16 11:17 AM
Read Full Discussion Thread for this article