This article covers features introduced in SpiderMonkey 24
Syntax
JS::Value JS::ObjectValue(JSObject& obj)
| Name | Type | Description |
|---|---|---|
str |
JSObject& |
A reference to a JSObject to convert. |
Description
JS::ObjectValue converts a given JSObject to JS::Value. The conversion always succeeds.
