I'm reviewing some html produced by an overseas development shop for us. They are using comments inside their external script loading tags - so far as i'm aware this was only useful for very old javascript unaware browsers who used to render the scripts as text - is there any modern purpose for this or is it now completely redundant?
<script type="text/javascript" src="path/to/file.js"><!--//--></script>
Thanks in advance
//Update after comments below: It turns out that the comments were hacking a problem in the Content Management System where it would render the tag as
<script type="text/javascript" src="path/to/" />
without the comments present - so the answer is that they nolonger have any use in general web development but there are some specific circumstances where they may be useful. Kudos to Caspar Kleijne for pointing this out.