ichigyou
    Preparing search index...

    Function arrToString

    • Converts an array to a string.

      Parameters

      • arr: any[]

        The array to be converted.

      Returns string

      The input array converted to a string, with elements separated by commas.

      const result = arrToString(['hello', 'world']);
      console.log(result); // 'hello,world'