• Returns a new unique Symbol value. If noPoly is true and symbols are not supported then this will return null.

    Parameters

    • Optionaldescription: string | number

      Description of the new Symbol object.

    • OptionalnoPoly: boolean

      Flag indicating whether to return a polyfil if symbols are not supported.

    Returns symbol

    The new symbol