| ★ wanayoo — archive 1999 https://developer.mozilla.org/En/JavaScript/ECMAScript_5_support_in_Mozilla | Nouvelle recherche | Portail wanayoo |
ECMAScript 5, the latest standard upon which JavaScript is based, is in Final Candidate stage (as of May 26, 2009). The JavaScript runtime used in Mozilla projects including both Firefox and Thunderbird is already in the process of integrating support for ECMAScript 5 features. This article covers the features already supported in the Mozilla JavaScript runtime, and will provide some insights as to the roadmap for further integration of ECMAScript 5 features.
JavaScript 1.8.1 adds support for native JSON, which is compatible with ECMAScript 5.
JavaScript 1.8.1 supports the Object.getPrototypeOf() method.
The String.trim() method, which trims whitespace from both ends of the string, is also now supported in JavaScript 1.8.1.
Improvements laid out by ECMAScript 5 have been made in the parsing algorithm that prevents evaluating XHTML as JavaScript code in certain circumstances.
Gecko 1.9.1.4 updated the implementation of JSON.stringify() to be compliant with ECMAScript 5.
Array extras -- added methods offering several improved methods for manipulating arrays -- have been part of JavaScript since JavaScript 1.6. Now they've been standardized as part of ECMAScript 5.
Page last modified 04:09, 22 Jan 2010 by Sheppy