package keyword reserved?

Brendan Eich brendan at mozilla.org
Fri Apr 11 16:37:12 PDT 2014


Jonathan Bond-Caron wrote:
> Is it safe to use the 'package' keyword then, no proposals for using it?

You mean for some other language compiled to JS to use 'package'? If so, 
then no: it's unsafe, explicitly so. The 'package' identifier is a 
strict future reserved word. Steer clear, the TC39 standards body may 
yet define it.

/be


More information about the es-discuss mailing list