| ||||||
SummaryRetrieves the given name for a specified function. | ||||||
Syntaxconst char * JS_GetFunctionName(JSFunction *fun); | ||||||
DescriptionJS_GetFunctionName retrieves the function name associated with a function pointer, fun . The return value is either the name of a function, or the string "anonymous", which indicates that the function was not assigned a name when created.
| ||||||
NotesThe pointer returned by this function is valid only as long as the specified function,fun , is in existence.
| ||||||
See Also
|