This article covers features introduced in SpiderMonkey 38
Convert a JS::Symbol to a JS::Value.
Syntax
JS::Value JS::SymbolValue(JS::Symbol* sym)
| Name | Type | Description |
|---|---|---|
sym |
JS::Symbol* |
A pointer to a JS::Symbol to convert. |
Description
JS::SymbolValue converts a given JS::Symbol to JS::Value. The conversion always succeeds.
