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

Reply via email to