[Javascript] line end character ;

Peter Brunone peter at brunone.com
Mon Jun 21 12:16:34 CDT 2004


	I don't see why you wouldn't use it; even though some parsing
engines don't notice if it's missing, it's not exactly good practice to
flout the language standards.

-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of Mike Dougherty

Should external script files use the line end character ; as a rule?

I left it off, now the javascript code cruncher(s) expect to find it

If the right thing to do is end lines with ";" then why isn't it
required?

I don't think developers should be allowed (by the language) to be lazy
with regards to syntax, 
we're lazy enough everywhere else :)
_______________________________________________





More information about the Javascript mailing list