Returns the name of a function.
Function.name contains the name of the function. However, Internet Explorer does not implement this property.
Therefore, uses Function.name if defined and otherwise extract the name from source
Parameters
func: Function
the function for which the name is desired
Returns string
the name of the function or an empty string for an anonymous function
Returns the name of a function. Function.name contains the name of the function. However, Internet Explorer does not implement this property. Therefore, uses Function.name if defined and otherwise extract the name from source