On Aug 26, 2012, at 4:30 PM, Brendan Eich <bren...@mozilla.com> wrote:

> Rick Waldron wrote:
>>> But Array.of is not. Maybe Array.new is a good name.
>> Array.of is unambiguous with the current ES specification
> 
> Array.new is ok too, though -- no problem with a reserved identifier as a 
> property name. It's darn nice for Rubyists.

Another possibility is Array.create, following the pattern of Object.create. 
"of" seems like a funky name for a constructor, to my taste.

Cheers,
Maciej
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to