- SF Bay Area
- https://dfkaye.com
- @dfkaye
Pinned Loading
-
get a javascript function name
get a javascript function name 1function getFnName(fn) {
2fn = Object(fn)
3var F = typeof fn == 'function'
4var N = fn.name
5var S = F && ((N && ['', N]) || fn.toString().match(/function ([^\(]+)/))
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.