Closed
Description
See also jquery/jquery#3600.
The description says:
Determine if the argument passed is a JavaScript function object.
JavaScript function object is ambiguous. There are some candidates:
- ECMAScript Function Objects
ECMAScript function objects encapsulate parameterized ECMAScript code closed over a lexical environment and support the dynamic evaluation of that code.
- Function Objects
The Function constructor is the %Function% intrinsic object and the initial value of the Function property of the global object.
- function
member of the Object type that may be invoked as a subroutine
(ECMAScript 2016 Language Specification)
Neither of them matches the actual implementation; jQuery.isFunction
tests @@toStringTag
.
Metadata
Metadata
Assignees
Labels
No labels