prototype focus

Mike Shaver mike.shaver at
Fri Jul 1 11:00:31 PDT 2011

On Jul 1, 2011 1:14 PM, "Brendan Eich" <brendan at> wrote:
> On Jul 1, 2011, at 2:21 AM, Tim Smart wrote:
>> I quite the current prototype model we have in ecma5. My only gripes
would be that `prototype` to too wordy,
> Do you use it that often?

15 years ago, writing an overwrought prototype hierarchy for a server-side
JS project, I experimented with

P = "prototype";

function Thing () { }
Thing[P] = { ... }

Wasn't worth it, I decided, because it didn't match the (then scant, now
abundant) documentation of delegation. Same principle applies here for
adding synonyms, I think.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list