b
JSBool
c
uint16 (16-bit, unsigned integer)
i
int32 (32-bit, ECMA-compliant signed integer)
u
uint32 (32-bit, ECMA-compliant, unsigned integer)
j
int32 (32-bit, signed integer)
d
jsdouble
I
jsdouble (converted to an integer value)
s
JSString (treated as an array of characters)
S
JSString
o
JSObject
f
JSFunction
*
None. If an asterisk (*) is present in format
, it tells the conversion routine to skip converting the current argument.
/
None. If a slash (/) is present in format
, it tells the conversion routine to turn off checking that the argument vector was passed to JS_ConvertArguments from a valid native JS function.
JSTYPE_VOID
"undefined"
JSTYPE_OBJECT
"object"
JSTYPE_FUNCTION
"function"
JSTYPE_STRING
"string"
JSTYPE_NUMBER
"number"
JSTYPE_BOOLEAN
"boolean"
Any other value
NULL
100
JSVERSION_1_0
JavaScript 1.0
110
JSVERSION_1_1
JavaScript 1.1
120
JSVERSION_1_2
JavaScript 1.2
130
JSVERSION_1_3
JavaScript 1.3
0
JSVERSION_DEFAULT
Default JavaScript version
-1
JSVERSION_UNKNOWN
Unknown JavaScript version
JSVERSION_1_0
JavaScript 1.0
JSVERSION_1_1
JavaScript 1.1
JSVERSION_1_2
JavaScript 1.2
JSVERSION_1_3
JavaScript 1.3
name
const char *
Name of the current hash entry.
rp
void *
Pointer to the named roots
data
void *
Pointer to a storage area into which to put a root's data.
JSPROP_ENUMERATE
Property is visible to for and in loops.
JSPROP_READONLY
Property is read only.
JSPROP_PERMANENT
Property cannot be deleted.
JSPROP_EXPORTED
Property can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSPROP_ENUMERATE
Property is visible in for and in loops.
JSPROP_READONLY
Property is read only.
JSPROP_PERMANENT
Property cannot be deleted.
JSPROP_EXPORTED
Property can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSPROP_ENUMERATE
Property is visible in for and in loops.
JSPROP_READONLY
Property is read only.
JSPROP_PERMANENT
Property cannot be deleted.
JSPROP_EXPORTED
Property can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSPROP_ENUMERATE
Property is visible in for and in loops.
JSPROP_READONLY
Property is read only.
JSPROP_PERMANENT
Property cannot be deleted.
JSPROP_EXPORTED
Property can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSPROP_ENUMERATE
Property is visible in for and in loops.
JSPROP_READONLY
Property is read only.
JSPROP_PERMANENT
Property cannot be deleted.
JSPROP_EXPORTED
Property can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSPROP_ENUMERATE
: property is visible in for loops.JSPROP_READONLY
: property is read-only.
JSPROP_PERMANENT
: property cannot be deleted.
JSPROP_EXPORTED
: property can be exported outside its object.
JSPROP_INDEX
: property is actually an array element.
]]>
If
JSPROP_ENUMERATE
Element is visible in for and in loops.
JSPROP_READONLY
Element is read only.
JSPROP_PERMANENT
Element cannot be deleted.
JSPROP_EXPORTED
Element can be imported by other objects.
JSPROP_INDEX
Property is actually an index into an array of properties, and is cast to a const char *
.
JSACC_PROTO
: Permission is granted to check both the object itself and its underlying propotype object.JSACC_PARENT
: Permission is granted to check both the object itself and its underlying parent object.JSACC_IMPORT
: Permission is granted to check an imported object.JSACC_WATCH
: Permission is granted to check a debugger watch object.