Versions of JavaScript
JavaScript has evolved over the years, and Netscape has released several versions of the language. Microsoft has released similar versions of the JavaScript language under the name “JScript.” And ECMA (http://www.ecma.ch) has published three versions of the ECMA-262 standard that standardize the JavaScript language under the awkward name “ECMAScript.”
Table 1-1 lists these various versions and explains their key features and how they are related to one another. In this book, I often use the name “JavaScript” to refer to any implementation of the language, including Microsoft’s JScript. When I’m specifically referring to ECMAScript, I often use the terms “ECMA-262” or “ECMA.”
Table 1-1. Versions of JavaScript
|
Version |
Description |
|---|---|
|
JavaScript 1.0 |
The original version of the language. It was buggy and is now essentially obsolete. Implemented by Netscape 2. |
|
JavaScript 1.1 |
Introduced a true Array object; most serious bugs resolved. Implemented by Netscape 3. |
|
JavaScript 1.2 |
Introduced the |
|
JavaScript 1.3 |
Fixed incompatibilities of JavaScript 1.2. Compliant with ECMA v1. Implemented by Netscape 4.5. |
|
JavaScript 1.4 |
Implemented only in Netscape server products. |
|
JavaScript 1.5 |
Introduced exception handling. Compliant with ECMA v3. Implemented by Mozilla and Netscape 6. |
|
JScript 1.0 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access