Question
Which are the two functions that are not allowed in any secure subset?
Answer: Option B
Was this answer helpful ?
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.
Was this answer helpful ?
Submit Solution