This article covers features introduced in SpiderMonkey 24
Syntax
JS::Value JS::StringValue(JSString* str)
| Name | Type | Description | 
|---|---|---|
| str | JSString* | A pointer to a JSStringto convert. | 
Description
JS::StringValue converts a given JSString to JS::Value. The conversion always succeeds.