Obsolete since JSAPI 19
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
uintN JS_GetFunctionFlags(JSFunction *fun);
||The function to examine.|
Function flags are a value of type
uintN, the bitwise OR of zero or more of the
JSFUN flags described below. Once a function is created, its flags cannot be modified.
The function is an
Arraygeneric, such as
The function uses language features such as closures,
evalthat require extra work on the part of the interpreter.
The function is native can be used as a constructor with the
newkeyword. (The meaning of this flag may change.)