Brendan Eich (2012-08-26T13:43:00.000Z)
Rick Waldron wrote:
> If you replace that by using Array.of(), you avoid this "gotcha"

That's right -- Array.of is an alternative constructor to use in 
preference to Array, on account of Array's heinous special-case for the 
one-numeric-argument case.

/be
domenic at domenicdenicola.com (2014-01-03T16:25:22.900Z)
Rick Waldron wrote:
> If you replace that by using `Array.of()`, you avoid this "gotcha"

That's right -- `Array.of` is an alternative constructor to use in 
preference to `Array`, on account of `Array`'s heinous special-case for the 
one-numeric-argument case.