> [1,2,3](-1)

But it implies a function call, which isn't the case. It could
possibly be confusing when reading code.

On Mon, Jan 25, 2016 at 1:04 PM, Bob Myers <[email protected]> wrote:
> The syntactical construct `array()` is unused as far as I know, since
> currently it would always generate a syntax error--an array is not a
> function. Thus we can use this as in
>
> ```
> [1,2,3](-1)
> ```
>
> Shouldn't break anything.
>
> Bob
>
> On Tue, Jan 26, 2016 at 2:08 AM, Andrea Giammarchi
> <[email protected]> wrote:
>>
>> FWIW `.at` works for me. Anything really, as long as `Symbol.last` won't
>> even be proposed :D
>>
>> On Mon, Jan 25, 2016 at 9:33 PM, Caitlin Potter <[email protected]>
>> wrote:
>>>
>>> Nitpicking here, but the `nth` method is traditionally named `at`, if it
>>> were going to be formally proposed
>>>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to