Re: [whatwg/dom] Event Listener Execution Order for Same Event Is Undefined (#415)

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