yep, not only you can, but also consider if that was frozen, half of ES5
wouldn't have existed.

You want to exted it? Thanks to ES5 just go for it! You want to be
obtrusive or that secure? Freeze it.
Does this affect the ability to use Array.prototype as empty array? Not at
all, it does not change a single bit of empty purpose.

On Thu, Feb 19, 2015 at 8:18 PM, Mark Miller <[email protected]> wrote:

> On Thu, Feb 19, 2015 at 12:14 PM, Axel Rauschmayer <[email protected]>
> wrote:
>
>> However, you can’t freeze `Array.prototype`
>>
>> We do.
>
>
> --
>   Cheers,
>   --MarkM
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to