Separating a Hash type from Object

Brad Fults bfults at gmail.com
Mon Apr 30 13:38:19 PDT 2007


On 4/30/07, Alex Russell <alex at dojotoolkit.org> wrote:
> There has been a proposal regarding this:
>
>         http://developer.mozilla.org/es4/proposals/enumerability.html

Ah, yes, DontEnum seems to solve the immediate problem of extending
Object.prototype. Thanks.

> the (useful) flexibility of the
> object/hash duality.
> [...snip...]
> Idiomatic ES3 code uses the object/hash duality to good effect.

I'm (honestly) curious to see some examples of useful flexibility and
good effects of the object/hash duality. I think I'm looking at the
issue from a different perspective and would benefit from a different
and concrete viewpoint that supports the duality.

Thanks.

-- 
Brad Fults



More information about the Es4-discuss mailing list