JavaScript terminology: non-function-valued property

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Jul 22 19:10:00 PDT 2011


On Jul 22, 2011, at 3:16 PM, Mike Shaver wrote:

> Which primitives have own properties?  I thought even "str".length conceptually came from the prototype.
> 
> 

No, 15.5.5/15.5.5.1 says that each string object (ie, each string wrapper) has its own "length" property.

Allen 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110722/9e655f26/attachment.html>


More information about the es-discuss mailing list