I recently learned about the hashbang syntax for writing comments in JavaScript, and need to know if it is or has the potential to be any different then just putting a //
at the top of a file. Are there any conventions associated with the hashbang?
I am referring to usage in a browser environment only, not in a shell or NodeJS, etc.
I am asking because I am writing about JavaScript syntax and need to make sure it is 100% correct.