Getting started
suggest change| Version | Release Date |
|---|---|
| 1 | 1997-06-01 |
| 2 | 1998-08-01 |
| 3 | 1999-12-01 |
| E4X (separate standard) | 2004-06-01 |
| 5 | 2009-12-01 |
| 5.1 | 2011-06-01 |
| 6 | 2015-06-01 |
| 7 | 2016-06-14 |
| 8 | 2017-06-27 |
The table stops at the 2017 edition. Later editions are published yearly: ES2018 is edition 9, and so on. E4X was ECMA-357, not an ECMAScript edition.
JavaScript is a dynamic, weakly typed language used for client-side as well as server-side scripting.
JavaScript is the commonly used implementation of the ECMAScript standard.
Pages in this book often refer to JavaScript in the browser, unless a page says otherwise. JavaScript files alone can’t be run directly by the browser; it’s necessary to embed them in an HTML document. If you have some JavaScript code you’d like to try, you can embed it in some placeholder content like this, and save the result as example.html:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Test page</title>
</head>
<body>
Inline script (option 1):
<script>
// YOUR CODE HERE
</script>
External script (option 2):
<script src="your-code-file.js"></script>
</body>
</html>
Using the DOM API with graphical text Canvas SVG or image file
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents