What will happen if we execute the following code of JavaScript?
const tensquared = (function(x){ return x*x; }(10));
Memory leak
Error
Exception will be thrown
Yes, execute perfectly
Correct Answer : D
Can you pass a anonymous function as an argument to another function?
What keyword is used to declare an asynchronous function in Javascript?
Which of the following are closures in Javascript?