A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(D)
  • Views: 26
  • Filed under category JavaScript
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.