Get a function's name as a
JSString * JS_GetFunctionId(JSFunction *fun);
JS_GetFunctionId returns the name of a function,
fun, as a
fun is unnamed. The returned string is guaranteed to live as long as
fun, so the application often does not need to root the string.