Today when the 5th edition is released it is time to start analysis of this new version of the specification. At the moment it still isn’t implemented widely in the complete view, although there are already many implementations which have the new functionality — at least partly.
I thought how to manage the new series and descriptions of related chapters in the most convenient way. On one hand, it is the new standard which could deserve complete separate series with all chapters. But then many of them will repeat descriptions of ES3 series. On the other hand, as we mentioned, the 5th edition is just the improvement of the previous 3rd version — without completely new and innovating approach. We can treat ES5 as an extension of the ES3. And from this viewpoint many already discussed aspects are the same as for the ECMA-262-3. Nevertheless, some concepts of ECMA-262-5 have new terminology and implementation. And exactly these new details are the most interesting for us.
Taking into account this fact, I decided to explain separately only these distinctions and with referencing to corresponding chapters of the ECMA-262-3 series. Moreover, ES3 still rocks (and will until web-developers support some old browsers; although, I am sure that will be made some acceptable shims to imitate ES5 approach using ES3) and from this point of view understanding how works ES3 is also important and useful. So for those who will start learning of ECMAScript from this new ECMA-262-5 series, every chapter will contain sort of dependencies list, i.e. chapters of ECMA-262-3 series which should be already read for complete understanding of the current chapter.
To whom this series is recommended:
Chapters of the series:
- Chapter 1. Properties and Property Descriptors
- Chapter 2. Strict Mode
- Chapter 3.1. Lexical environments: Common Theory
- Chapter 3.2. Lexical environments: ECMAScript implementation