ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

Why is the this keyword forbidden in JavaScript?

Answer & Solution
Correct Answer: Option C
The this keyword is forbidden or restricted because functions (in non-strict mode) can access the global object through this. Preventing access to the global object is one of the key purposes of any sandboxing system.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.