estools / esutils

utility box for ECMAScript language tools
BSD 2-Clause "Simplified" License
120 stars 31 forks source link

ES3 support #19

Open qfox opened 9 years ago

qfox commented 9 years ago

Can we add here ES3 keyword and reservedword lists?

mathiasbynens commented 9 years ago

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

qfox commented 9 years ago

@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

mathiasbynens commented 9 years ago

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

michaelficarra commented 9 years ago

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.