On 5/7/16, 11:36 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>Right. I read that. This was what I was referring to in my last email.
>
>However, the Addition Operator is supposed to call [[Append]] and
>[[Append]] is supposed to assign the right side target object and target
>property to the left side object. So why doesn’t the original XML get
>effected?

For which example?  For list = list1 + list4, the steps are:

temp = new XMLList();
temp.append(list1)
temp.append(list4);
list1 = temp;

temp is created with targetObject = null.
list4 has targetObject = null


But also, in re-reading the spec, I don't see where [[Append]] updates the
targetObject's properties and attributes.  There is no mention of [[Put]],
for example.  Maybe manipulation of the targetObject always happens on
some other assignment?

-Alex

Reply via email to