Function mozjs::jsapi::NewSymbol [] [src]

pub unsafe extern "C" fn NewSymbol(
    cx: *mut JSContext,
    description: HandleString
) -> *mut Symbol

Create a new Symbol with the given description. This function never returns a Symbol that is in the Runtime-wide symbol registry.

If description is null, the new Symbol's [[Description]] attribute is undefined.