Separating a Hash type from Object

P T Withington ptw at
Wed May 2 12:56:26 PDT 2007

On 2007-05-02, at 13:53 EDT, Brendan Eich wrote:

> On May 2, 2007, at 4:58 AM, P T Withington wrote:
>> On 2007-05-02, at 02:40 EDT, Brendan Eich wrote:
>>   [...]
>>> Indeed, #. etc. is just a thought experiment.
>> I do think there needs to be a primitive Hash type.  Otherwise we
>> doom users to trying to invent their own and hitting all the various
>> pitfalls that have been enumerated on this thread.
> I've agreed repeatedly, but without a sufficiently winning proposal
> (which I'm explicitly seeking here with help from y'all), it's not
> going to happen for ES4.

Have you considered Hash being a new native type with its own rules  
for ToPrimitive, ToString, and ToObject?

More information about the Es4-discuss mailing list