__hash__ for javascript?
===

Is there a way to give objects in js custom hashes, just as overriding

    __hash__()

in python let's someone define how a given object is hashed into a dictionary.

My underlying question is: what hash function is used to put js objects into associative arrays, and can I over-ride it?