Most web browsers (if you're running this code in a web browser), will do ASI (automatic semicolon insertion).
http://jsfiddle.net/CxUXh/ works fine in Chrome, changing the console.log to an alert.
Not that I'm advocating omitting semicolons!
http://jsfiddle.net/CxUXh/ works fine in Chrome, changing the console.log to an alert.
Not that I'm advocating omitting semicolons!