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

Which are the two functions that are not allowed in any secure subset?

Answer & Solution
Correct Answer: Option B
eval() and the Function() constructor are not allowed in any secure subset because they allow the execution of arbitrary strings of code, and these strings cannot be statically analyzed.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.