Entry: JS_ValueToString (Function)
Summary: Converts a JS value to a JS string.
Syntax:
JSString * JS_ValueToString(JSContext *cx, jsval v);
Argument Type Description
cx JSContext * Pointer to a JS context from which to derive runtime information.
v jsval The JS value to convert.
Description:
JS_ValueToString converts a specified JS value, v, to a JS string. The actual conversion is performed by the object's convert operation. JS_ValueToString always returns a pointer to a string. The original value is untouched.
See also:
|
|
|