Hillel Wayne
A Perplexing Javascript Parsing Puzzle
JavaScript treats `-->` at line start as a comment due to a legacy hack for hiding scripts from old browsers that didn't support the `<script>` tag.
1 article published
JavaScript treats `-->` at line start as a comment due to a legacy hack for hiding scripts from old browsers that didn't support the `<script>` tag.