JavaScript Professional — Hard
Key points
- Omitting 'unsafe-eval' in CSP blocks eval() and new Function()
- Both methods require 'unsafe-eval' to be explicitly allowed
- 'unsafe-eval' is a necessary source expression in script-src directive
Ready to go further?
Related questions
