On 6/10/15 10:51 AM, Boris Zbarsky wrote:
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string-exotic-objects
says:
Both the code unit data properties and the "length" property are
non-writable and non-configurable.
Or if you prefer the actual normative text is probably
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-stringgetindexproperty
step 11 combined with
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-assignment-operators-runtime-semantics-evaluation
the non-destructuring case step 9 invoking
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-putvalue which
in step 6.a.ii does a ToObject which is how you end up with a String
object for the [[GetOwnProperty]].
-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals