воскресенье, 27 ноября 2011 г.

Evolving ECMAScript

For the Web and Web applications to keep making progress, the programming language of the Web must continue to improve. Today’s JavaScript standard lacks a few basic objects and library helpers that are vital for building rich, world-wide Web applications. Last week at the Ecma TC39 meeting at Apple’s campus in Cupertino, Microsoft shared reference implementations of proposals to address gaps in Math, String, and Number functionality as well as Globalization.
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:
Math String Number
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.

Комментариев нет:

Отправить комментарий