Some older(?) Javascript sometimes includes <!-- ... //-->
like
<script>
<!--
var text1="bla";
var text2="bla";
//-->
</script>
What does that do? Comment out? Why?
And do you still use that today?
Some older(?) Javascript sometimes includes <!-- ... //-->
like
<script>
<!--
var text1="bla";
var text2="bla";
//-->
</script>
What does that do? Comment out? Why?
And do you still use that today?
It is used to comment out lines in html similar to "text"/'''text''' in python or // in a few other languages. Commenting a line will not process/execute it.