( obj )
| 75 | var support = {}; |
| 76 | |
| 77 | var isFunction = function isFunction( obj ) { |
| 78 | |
| 79 | // Support: Chrome <=57, Firefox <=52 |
| 80 | // In some browsers, typeof returns "function" for HTML <object> elements |
| 81 | // (i.e., `typeof document.createElement( "object" ) === "function"`). |
| 82 | // We don't want to classify *any* DOM node as a function. |
| 83 | return typeof obj === "function" && typeof obj.nodeType !== "number"; |
| 84 | }; |
| 85 | |
| 86 | |
| 87 | var isWindow = function isWindow( obj ) { |
no outgoing calls
no test coverage detected