pub unsafe extern "C" fn GetWellKnownSymbolKey(
cx: *mut JSContext,
which: SymbolCode,
) -> PropertyKey
Expand description
Get one of the well-known symbols defined by ES6 as PropertyKey. This is equivalent to calling JS::GetWellKnownSymbol and then creating a PropertyKey.
which
must be in the range [0, WellKnownSymbolLimit).