Cast a specified JS string to a jsval.
Syntax
STRING_TO_JSVAL(str)
Description
STRING_TO_JSVAL casts a given JSString *, str, to type jsval. str must be a non-null pointer of type JSString *. The conversion always succeeds.
LXR ID Search for STRING_TO_JSVAL