[Javascript] Firefox Prototyping -or does it?!

Mike Dougherty mdougherty at pbp.com
Mon Apr 2 10:51:31 CDT 2012


On Mon, Apr 2, 2012 at 11:13 AM, Hassan Schroeder <hassan at webtuitive.com>wrote:

> The 'prototype' property is an essential part of JavaScript -- take it
> away and it's some other language (or no language). If in doubt, read
> http://www.ecma-international.**org/publications/files/ECMA-**
> ST/Ecma-262.pdf<http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf>:-)
>
> So the stated premise implies that either
>
> 1) the Mozilla developers decided to deliberately kill their flagship
>   product by rendering an essential component unusable, and didn't
>   tell anyone because they were too busy high-fiving each other on
>   what an AWESOME piece of performance art that was, or
>
> 2) the Mozilla developers accidentally broke an essential component of
>   their product, released it, and NO ONE NOTICED. Well, one guy did.
>
>
I assumed the "problem" is caused by attempting to use a function defined
in the DOM via the firebug console - which sounds like a scoping problem or
implementation issue in a particular tool rather than a language feature
flaw.


More information about the Javascript mailing list