1. evaluate() and restrict()
  2. eval() and the Function() constructor
  3. debugger() and test()
  4. eval() and debugger()
4 views

1 Answers

Answer: Option 2

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.

4 views

Related Questions