[Javascript] line end character ;

Mike Dougherty mdougherty at pbp.com
Mon Jun 21 11:58:28 CDT 2004


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