- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 22 Feb 2017 19:17:47 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 February 2017 03:18:21 UTC
Hmm, I don't see how that's implicit. If I have
```js
const obj1 = { o: 1 };
const obj2 = { o: 2 };
const arrayOfReferenceObjects = [obj1, obj2];
arrayOfReferenceObjects.forEach(obj => {
console.log(obj.o);
});
```
I don't see anything in the above code (meant to approximate the spec) that "implicitly" allows the VM to rearrange `arrayOfReferenceObjects` into a different order, so that it prints 21 instead of 12.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/415#issuecomment-281881730
Received on Thursday, 23 February 2017 03:18:21 UTC