Q. Consider the following code snippet : will this code work?

Code:
var tensquared = (function(n) {return n*n;}(100));
  • (A) Exception will be thrown
  • (B) Memory leak
  • (C) Error
  • (D) Yes
πŸ’¬ Discuss
βœ… Correct Answer: (D) Yes

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
276
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Vishal Gupta
Publisher
πŸ“ˆ
91%
Success Rate