Closed renekliment closed 4 years ago
isCallable
shouldn't return false for any callback; that seems like a bug in the is-callable
library - if you have a repro of that, please file it there.
This library has been working on IE 9, 10, and 11 for many many years, with is-callable, so I'm pretty confident the problem is something else in your setup.
I do see, in your screenshot, that iterator
is definitely a function. Can you debug-step into isCallable
and determine on which line it's returning false?
You're right, it seems like I have a messed up Object.prototype.toString
polyfill somewhere causing the issue. Sorry for the inconvenience!
Hi!
We've been using your amazing library and accidentally discovered, that unfortunately it is not compatible with Internet Explorer.
The reason is the use of for-each in
.extend
which callsisCallable
.However,
isCallable
returnsfalse
for theforEach
callback for some reason in IE, which causesforEach
tothrow
.Can't provide a quick example now as both https://codesandbox.io/ and https://stackblitz.com/ do not load under IE properly. Let me know if you need me to run an instance somewhere.
Could you please have a look at this?