- From: Tab Atkins Jr. <notifications@github.com>
- Date: Wed, 01 Mar 2017 14:00:55 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 1 March 2017 22:13:26 UTC
Tho *just* using an Array subclass still leaves you with the question, raised by Boris, of what the result of calling `obj.map()` is; if this is grabbing the `Array.prototype.map` function, then your callback result isn't typechecked, and the method returns an ordinary Array. (Same with `filter`, and any of the other Array methods that return an Array.) Ideally you want the result to be an object of the same type. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/291#issuecomment-283484871
Received on Wednesday, 1 March 2017 22:13:26 UTC