P.S. yes, the semantic already frozen purpose of an empty property though, I agree that'd be cool
On Thu, Feb 19, 2015 at 8:21 PM, Andrea Giammarchi < andrea.giammar...@gmail.com> wrote: > 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 <erig...@gmail.com> wrote: > >> On Thu, Feb 19, 2015 at 12:14 PM, Axel Rauschmayer <a...@rauschma.de> >> wrote: >> >>> However, you can’t freeze `Array.prototype` >>> >>> We do. >> >> >> -- >> Cheers, >> --MarkM >> > >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss