3 ms·
>Basically, an object which implements call will always cause `typeof` to return "function". Are there any implementations which actually do this? In Node: ty
by foldr 12y ago
>Basically, an object which implements call will always cause `typeof` to return "function".
Are there any implementations which actually do this? In Node:
typeof({ call: function () { } }) --> 'object'
({ call: function () { } })() --> TypeError: object is not a function