This article covers features introduced in SpiderMonkey 1.8.5

Returns the empty string as a JSString object.

Syntax

JSString *
JS_GetEmptyString(JSRuntime *rt);
Name Type Description
rt JSRuntime * The runtime for which to return the empty string.

Description

The returned empty string has the length 0.

See Also