Object.prototype.inspect ?

Garrett Smith dhtmlkitchen at gmail.com
Wed Mar 11 15:32:35 PDT 2009

On Wed, Mar 11, 2009 at 10:57 AM, Brendan Eich <brendan at mozilla.com> wrote:
> On Mar 11, 2009, at 10:33 AM, Garrett Smith wrote:
>> [overlong cited text cut -- please do that when replying. /be]


>>> What text in the link you give made you think anything of the sort? I see
>>> no
>>> use of "internally" or "internal" in that wiki page. You can override
>>> toSource just as you can override toString. Doing so in a content window
>>> cannot possibly affect the operation of the browser's user interface
>>> ("chrome") windows.
>> I prefer to use the term "shadow" to override. In the example below,
>> C.prototype.toSource shadows Object.prototype.toSource;
> Ok, but what does this have to do with the price of eggs?


More information about the Es-discuss mailing list