@extremejs/utils - v1.0.0-beta.23
    Preparing search index...

    Function join

    • It will convert all elements in the array into a string separated by the separator.

      Parameters

      • array: unknown[]
      • separator: string = ""

      Returns string

      1.0.0

      join([1, 2, 3]); // => "123"
      
      join([1, 2, 3], ","); // => "1,2,3"