- From: Patrick Dark <notifications@github.com>
- Date: Wed, 22 Feb 2017 18:36:05 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 February 2017 02:36:39 UTC
@domenic ``` function inner_invoke(listeners) { while (listeners.length > 0) { let listener = listeners.pop(); // reversed order } } function invoke() { let listeners = object.get_listener_array(); // naturally, in definition order inner_invoke(listeners); } ``` There's seemingly nothing in the spec that says `listeners.reverse()` has to be called in `inner_invoke`. -- 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-281874421
Received on Thursday, 23 February 2017 02:36:39 UTC