Changing toString() is obviously not possible since the semantics are fixed and 
many existing code depends them (ex. Object.prototype.toString are used for 
type identifying, String.prototype.toString are used for meta-programming 
frameworks. I think you can extend Object.prototype to provide a hashing method 
if you really need them for debugging. Personally I think it is not usually 
needed.
                                          
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to