package keyword reserved?
Brendan Eich
brendan at mozilla.org
Fri Apr 11 14:28:10 PDT 2014
Jonathan Bond-Caron wrote:
>
> What’s the history of the unused keyword “package”, is it from Java?
>
In 1995, I reserved all the Java (JDK1.0 era) reserved identifiers.
ES1 kept them, but ES5 cut way back, yet kept 'package' among others as
reserved in strict code. No one had a championed proposal for 'package',
though. It was reserved along with others because "it seemed like a
better idea than unreserving".
Please don't rush to contrive a use for 'package' without a use-case.
/be
More information about the es-discuss
mailing list