What does the leading semicolon in JavaScript libraries do?

It allows you to safely concatenate several JavaScript files into one, to serve it quicker as one HTTP request.

Leave a Comment