In today's code, I accidentally discovered a situation where the javascript eval() function cannot execute html code, such as:
Copy the code code as follows:
<script>eval('<li>hehe</li>')</script>
The code will not be executed, but it can be executed if changed as follows:
Copy the code code as follows:
<script>eval('</script><li>hehe</li><script>')</script>