<script type="text/javascript"> document.write("Эта строка выведена с помощью Javascript"); </script> 

1 jslint error:

 document.write can be a form of eval (document.write("Эта строка выведена с помощью Javascript");) 

    1 answer 1

    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 .

    • True, but not quite. document.write('<script>...</script>') - the analog of eval itself - vp_arth