MDN’s new design is in Beta! A sneak peek:

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


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

// Obsolete since SpiderMonkey 42
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.


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,