Function js::jsapi::GetWellKnownSymbol
[−]
[src]
pub unsafe extern "C" fn GetWellKnownSymbol(
cx: *mut JSContext,
which: SymbolCode
) -> *mut Symbol
Get one of the well-known symbols defined by ES6. A single set of well-known symbols is shared by all compartments in a JSRuntime.
which
must be in the range [0, WellKnownSymbolLimit).