On 6/10/15 3:45 AM, obastemur wrote:
Couldn't find the corresponding ecma spec on this restriction.

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.

The rest follows from the behavior of sets in strict mode for a non-writable data property.

-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to