eval and Dynamic Code
Compiling strings into code at runtime with `eval()`, `new Function()` and string timers: the risks and the safer alternatives.
Content tagged eval
Post:Trusted Types and
eval: The Dynamic Code Brand Checks ProposalGuard eval and new Function with Trusted TypesWhy eval and new Function are risky, how Trusted Types and CSP contain them, and what the Stage 3 Dynamic Code Brand Checks proposal changes. Not in ES2027 yet.