• Given a list of items, it returns a string with the items joined by commas and the last item joined by "and". All items are wrapped in double quotes. For example: ["a", "b", "c"] returns "a", "b" and "c".

    Parameters

    • items: string[]

      List of items.

    Returns string

    The joined string.