Why does the JavaScript need to start with “;”?
I have recently noticed that a lot of JavaScript files on the Web start with a ; immediately following the comment section. For example, this jQuery plugin’s code starts with: /** * jQuery.ScrollTo * Copyright (c) 2007-2008 Ariel Flesler – aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 9/11/2008 …. skipping … Read more