User:Shaver/ES4 FAQ: Difference between revisions

Jump to navigation Jump to search
Line 9: Line 9:
* opt-in facilities such as new keywords, which will not affect programs unless the new ES4 capabilities are explicitly requested
* opt-in facilities such as new keywords, which will not affect programs unless the new ES4 capabilities are explicitly requested
* bug fixes to match prevailing (often: all) browser support, such that the specification better reflects what developers can actually expect from implementations; programs that run in the real world today will be unaffected, obviously, as this is codification of existing practice
* bug fixes to match prevailing (often: all) browser support, such that the specification better reflects what developers can actually expect from implementations; programs that run in the real world today will be unaffected, obviously, as this is codification of existing practice
* bug fixes to match user expectation, where the ES3 behaviour was a trap for the unwary, and not useful in its specified form; the classic example is how <tt>this</tt> is bound in nested functions, which is one of the most confusing and anger-inducing defects in the ES3 specification.
* bug fixes to match user expectation, where the ES3 behaviour was a trap for the unwary, and not useful in its specified form; the classic example is how <a href="http://javascript.crockford.com/recommend.html"><tt>this</tt> is bound in nested functions</a>, which is one of the most confusing and anger-inducing defects in the ES3 specification.


A complete description of all incompatibilities between ES4 and ES3 (as specified; note again that many of the changes represent codification of what is <i>actually</i> implemented in virtually all engines) is available at XXX.
A complete description of all incompatibilities between ES4 and ES3 (as specified; note again that many of the changes represent codification of what is <i>actually</i> implemented in virtually all engines) is available at XXX.
Confirmed users
455

edits

Navigation menu