functionName
Logs the name of a function.
- Use
console.debug()
and thename
property of the passed function to log the function's name to thedebug
channel of the console. - Return the given function
fn
.
Logs the name of a function.
console.debug()
and the name
property of the passed function to log the function's name to the debug
channel of the console.fn
.