ecmascript 5 and the script tag

kevin curtis kevinc1846 at googlemail.com
Thu Apr 16 14:37:09 PDT 2009


Hi

Has it been established how browsers will handle ecmascript 5? e.g.
<script type="application/ecmascript;version=5"> ...
The above is from the es4 proposal with 4 replaced with 5:
http://wiki.ecmascript.org/doku.php?id=proposals:versioning

Also, how will ecmascript shells process ecmascript 5 scripts?
Spidermonkey has the -v flag (as well as the version() builtin):
./js -v 5 -e "print('version: ' + version())"

Is it likely that the the c/c++ 'script' objects in the test
implementations will have a property indicating the ecmascript version of
the script?


More information about the es-discuss mailing list