String objects should be ordinary

Allen Wirfs-Brock allen at wirfs-brock.com
Thu Nov 20 14:37:09 PST 2014


This sounds like a reasonable alternative way to approach specifying ES strings.  However, it doesn’t seem like a critical issue to explore at this time.  Given how close we are to having to deliver the final ES6 draft I don’t think it is something I want to consider changing at this time.

Allen

On Nov 20, 2014, at 12:06 PM, Jason Orendorff <jason.orendorff at gmail.com> wrote:

> String objects are exotic:
> 
> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string-exotic-objects
> 
> Suppose we make them ordinary. No change in behvaior: we can make
> StringCreate define all the indexed properties on every String object
> as it's created, right?
> 
> Wouldn't that be better?
> 
> It seems like what these sections are trying to achieve is
> conceptually simple, and expressible in terms of ordinary properties,
> and so the spec should just say that... I could be missing something
> though.
> 
> -j
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 



More information about the es-discuss mailing list