You can also use it to trim an array by setting a smaller number. • toString (): Converts your array into a comma-separated string. • join (): Similar to toString, but you pick your own separator.