Niko Pavlicek wrote:
> John Morrison wrote:
>
>> Um, the semicolon has always been optional, in general, in javascript.
>> It's not an error to not include them.
>
> oops, hadn't known this - my failure
Actually, it's the other way around -- since JavaScript treats all whitespace (spaces,
carriage returns, tabs, etc.) the same way the semicolon is (with very few exceptions)
always required. That's the only way the interpreter can tell you're finishing a
command instead of continuing it on the next line.
--Jason