esutils icon indicating copy to clipboard operation
esutils copied to clipboard

ES3 support

Open qfox opened this issue 10 years ago • 4 comments

Can we add here ES3 keyword and reservedword lists?

qfox avatar Jul 20 '15 08:07 qfox

https://mathiasbynens.be/notes/reserved-keywords#ecmascript-3

mathiasbynens avatar Jul 20 '15 08:07 mathiasbynens

@mathiasbynens Nice list ;-) I've used this doc http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf sections 7.5.2, 7.5.3

qfox avatar Jul 20 '15 08:07 qfox

Yeah, that write-up is based on the official PDF specs too.

mathiasbynens avatar Jul 20 '15 09:07 mathiasbynens

The problem with this is that support for ES3 (with respect to identifier names and reserved words) was so poor that this would be unrepresentative of any implementation. So I think it would be a waste of our time.

michaelficarra avatar Jul 20 '15 10:07 michaelficarra