Contents

JSValueMakeSymbol(_:_:)

Creates a JavaScript value of the symbol type.

Declaration

func JSValueMakeSymbol(_ ctx: JSContextRef!, _ description: JSStringRef!) -> JSValueRef!

Parameters

  • ctx:

    The execution context to use.

  • description:

    A description of the newly created symbol value.

Return Value

A unique JSValueRef of the symbol type with a description that matches description.

See Also

Creating Values