JavaScript Comment Syntax

Hi,

I am working on a JavaScript file and it has one part of comment in this form:

/*! 
* Comment goes here...
*/

What’s the use of the exclamation mark “!”?

There exist so called minifiers for javascript, which compact .js files; strip comments, reduce whitepace, reduce length by taking short variable names, etc.
Normally these minifiers strip out all comments, but when you add a ! to it they don’t, so you can use to leave a copyright notice at the top of the file for example.
Well, the one I know doesn’t at least :slight_smile: