Comments on Sept Meeting Notes

Allen Wirfs-Brock allen at wirfs-brock.com
Thu Sep 26 15:39:24 PDT 2013


On Sep 26, 2013, at 3:30 PM, Rick Waldron wrote:

> 
> 
> 
> On Thu, Sep 26, 2013 at 6:20 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> ...
> 
> Maybe the exception could be enumerability exception could be concise methods with string literal property names that do not parse as IdentifierName.
> 
> I'm trying to understand if there is something I'm missing about "string literal property names that do not parse as IdentifierName" that is somehow different from what exists today. What happens here:
> 
> var o = { 
>   "@concise"() {}
> };

non-estensible

> 
> o["@method"] = function() {};

extensible

> 
> jQuery.extend(Some.prototype, o);

copies "@method"
doesn't copy "@concise"

> 
> Some.prototype["@concise"] = "MINE";
> 

Makes extensible "@concise" property

Allen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130926/1c06835a/attachment.html>


More information about the es-discuss mailing list