Rationale

eval() and related reflection operations introduce significant security risk, are blocked by the LockerService, and in general in the AppExchange Security Review. Salesforce announced that future Content Security Policy settings will not allow unsafe-eval.

Scope

  • Lightning controllers

See also

Did this answer your question?