Clauses or Sections?

Brendan Eich brendan at
Mon Nov 16 11:35:04 PST 2009

On Nov 16, 2009, at 11:25 AM, Garrett Smith wrote:

> The ES5 Specification mentions "clauses" in many places (e.g. "Clause
> 10."). This seems unclear. Is a "clause" the same thing as a
> "section"? Why the double terminology?

I don't know -- I should have noticed these, since ES3 lacks such  
solecisms. "Clause" occurs in ES3 only as part of CatchClause(s).

It's odd to use clause, which has a specific meaning in natural  
language grammars, and a different but irrelevant meaning for legal  
documents, to mean something as big as an ES5 section.

Allen no doubt knows the history. I hope this isn't an Ecma thing.

Non-random link:


More information about the es-discuss mailing list