functionName
Logs the name of a function.
- Use
console.debug()and thenameproperty of the passed function to log the function's name to thedebugchannel 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.