e.g. Two script tags are added to document, they both contain code to remove the other. Do both run?
<script id="a">
console.log("A")
var b = document.getElementById("b");
b.parentNode.removeChild(b);
</script>
<script id="b">
console.log("B")
var a = document.getElementById("a");
a.parentNode.removeChild(a);
</script>
Need to check on load and after document ready.
e.g. Two script tags are added to document, they both contain code to remove the other. Do both run?
Need to check on load and after document ready.