Primitives vs. Objects, Ruby-like features

Brendan Eich brendan at mozilla.org
Mon Mar 24 21:33:52 PDT 2008


On Mar 24, 2008, at 8:52 PM, Darryl wrote:

> I'd also point out that 5..prototype doesn't work,

I'm not sure what you mean by "work". 5 is not a function so it has  
no pre-defined 'prototype' property. The result of 5..prototype is  
therefore undefined (the undefined value), per ES3.

/be



More information about the Es4-discuss mailing list