1

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?

Correct Answer: var strict = (function() { return !this; }());

Make the most of this question

This page focuses on one JavaScript MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JavaScript MCQs MCQ: 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? | Extra Education