The first 3 sections of ECMAScript 5.1 are pretty short, but lay the foundation for the definition of the language.
Section 1: Scope
This section is super short — here is the whole thing:
“This Standard defines the ECMAScript scripting language.”
Okay, got it.
Section 2: Conformance
This section is just 4 paragraphs:
First of all, “A conforming implementation of ECMAScript must provide and support all the types, values, objects, properties, functions, and program syntax and semantics described in this specification.”
Next, it says that a conforming implementation can provide custom types, values, objects, properties and functions in addition to what is in the specification. Custom properties and values for those properties are allowed on built-in objects.
Finally, it allows for the addition of program and regular expression syntax not described in the spec, so an implementation can use the future reserved words that are provided in the specification even though their use has not been defined.
Section 3: Normative References
This is just a list of references (only 2 of them) that are “indispensable” for implementing the spec. They are the C programming language specification and the Unicode specification:
- ISO/IEC 9899:1996, Programming Languages – C, including amendment 1 and technical corrigenda 1 and 2
- ISO/IEC 10646-1:1993, Information Technology – Universal Multiple-Octet Coded Character Set (UCS) plus its amendments and corrigenda