A

Admin • 828.03K Points
Coach

Q. Which of the following is the correct code for invoking a function without this keyword at all, and also too determine whether the strict mode is in effect?

  • (A) mode strict = (function { });
  • (B) var strict = (function { return this; });
  • (C) mode strict = (function() { return !this; }());
  • (D) var strict = (function() { return !this; }());
  • Correct Answer - Option(D)
  • Views: 10
  • 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.