Re: [whatwg/dom] Define a 'CancelationController' and 'CancelationSignal' interface. (#434)

@annevk there's lots of them - `function isMap(value) { try { Map.prototype.has.call(value); return true; } catch (e) { return false; } }` works fine ([link](https://tc39.github.io/ecma262/#sec-map.prototype.has))

However, I'd encourage you to follow the pattern of `Array.isArray`, since having to catch exceptions is unergonomic and slow.

-- 
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/pull/434#issuecomment-292698044

Received on Saturday, 8 April 2017 06:13:28 UTC