Consider the following code snippet :
var tensquared = (function(x) {return x*x;}(10));
Will the above code work ?
var tensquared = (function(x) {return x*x;}(10));
A. Yes, perfectly
B. Error
C. Exception will be thrown
D. Memory leak
Answer: Option A

Join The Discussion