Function mozjs::jsapi::GetWellKnownSymbol
source ยท pub unsafe extern "C" fn GetWellKnownSymbol(
cx: *mut JSContext,
which: SymbolCode,
) -> *mut Symbol
Expand description
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).