Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_GetEmptyStringValue

Get the empty string as a value of type JS::Value.

Syntax

// Added in SpiderMonkey 42
JS::Value
JS_GetEmptyStringValue(JSContext *cx);

// Obsolete since SpiderMonkey 42
jsval
JS_GetEmptyStringValue(JSContext *cx);
Name Type Description
cx JSContext * A context. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.

Description

JS_GetEmptyStringValue returns the empty string as a JS::Value.

See Also

Document Tags and Contributors

 Contributors to this page: arai, fscholz, Jorend, Dria, Nickolay, Callek, Tservo
 Last updated by: arai,