2

I know that document.write is bad,¹ but this is terribly inconsistent and doesn't make much sense.

document.write("babel: false");
*:after {
  content: "it works";
}
document.write("babel: true");
*:after {
  content: "it works";
}


¹: An understatement¹ precedes this.

0

You must log in to answer this question.

Browse other questions tagged .