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 <[email protected]> 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 > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

