if you want to open an old website in a newer browser, the main reason why you can"t open it is that there is such a code
.document.createElement("<div class="class"></div>");
what"s more, there is such a
.document.createElement("<div class="class"><div><div></div></div></div>");
to achieve compatibility, you can also replace document.createElement ()
.how can I make sure this replacement works?