Maciej Stachowiak (2012-08-28T06:59:23.000Z)
On Aug 26, 2012, at 4:30 PM, Brendan Eich <brendan at 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
domenic at domenicdenicola.com (2014-01-03T16:43:16.756Z)
On Aug 26, 2012, at 4:30 PM, Brendan Eich <brendan at mozilla.com> wrote:

> `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.