All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.javascript.Eval.html Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version

The eval function is a way to run arbitrary code at run-time. Generally it is considered to be very dangerous because it allows execution of arbitrary code. Its use is thus discouraged. If you have carefully verified that there is no other option than to use this construct, pay special attention not to pass any user-provided data into it without properly validating it beforehand.

Noncompliant Code Example

eval(code_to_be_dynamically_executed)

See





© 2015 - 2024 Weber Informatics LLC | Privacy Policy