Yes, I know there are plenty of posts on this, but I do not understand the selected answer of this post. Particularly, why is it necessary to return object
?
Why wouldn't something like Object.prototype.toString.call(myFunc)
be sufficient as described by MDN?