<script type="text/javascript"> document.write("Эта строка выведена с помощью Javascript"); </script> 1 jslint error:
document.write can be a form of eval (document.write("Эта строка выведена с помощью Javascript");) document.write("Эта строка выведена с помощью Javascript"); 1 jslint...">
<script type="text/javascript"> document.write("Эта строка выведена с помощью Javascript"); </script> 1 jslint error:
document.write can be a form of eval (document.write("Эта строка выведена с помощью Javascript");) In this case, jslint indicates that the document.write method can have code in which the eval() method can be used. You can read about the disadvantages of the eval() method here .
document.write('<script>...</script>') - the analog of eval itself - vp_arthSource: https://ru.stackoverflow.com/questions/632143/
All Articles