To ensure that others in the community are also able to provide feedback, we’re releasing these reference implementations via HTML5 Labs. We encourage you to download the prototypes, and play with the sample Web pages which demonstrate their usage. Try it out, and let us know if you have any feedback or suggestions in the comments.
These proposals provide a great deal of much needed functionality by adding only a few objects and library helpers:
|cosh, sinh, tanh acosh, asinh, atanh log2, log10, log1p, expm1 sign trunc||startsWith, endsWith contains repeat toArray reverse||isFinite isNaN isInteger toInteger|
|Number Format||Date Format||Collator|
|format ( number )||format ( date )||compare ( x , y )|
When running on Windows 7, the prototype implementation supports 363 available Locales, 18 numbering systems, many date patterns, and includes support for the Gregorian, Islamic, Hebrew, Buddhist, Korean, and Japanese calendars.
Note that as with all previous releases of HTML5 labs, this is an unsupported component with an indefinite lifetime. This should be used for evaluation purposes only and should not be used for production level applications.
Details on the proposals
- Provide features that are additive and pay-as-you-go, to help developers get more value with minimal new effort or learning.
- Strive for features to be locally detectable, to help developers build applications that work on the broadest range of browsers.
- Where possible, allow for a possibly slower library alternative (or ‘polyfill’) for browsers that do not yet support the feature.
We are working with TC39 on applying these same approaches as broadly as possible for the next revision of the ECMAScript standard.
When building applications on a larger scale, developers depend upon high quality authoring and tooling experiences. For applications of this scale, higher-level abstractions such as classes and other common programming patterns can be the basis for better tooling.
The ECMAScript Standards Process
For the past couple of years, TC39 has been accepting proposals for new features to add to the ECMAScript standard. As we look at the current work being pursued in the committee, we see two categories of investments:
Looking forward to the future of the Web
We welcome your feedback and look forward to continuing to participate in this dialog.