arr.join() // join the array based on argument passed
arr.toString() // converts array to string as it is
// join is to say - "Pick each element from array and join on the param passed"constelements= ['Fire','Air','Water'];elements.join() // Fire,Air,Water -> not joining on anything but converted to string elements.join('') // FireAirWater elements.join(' ') // Fire Air Water elements.join(',') // Fire,Air,Water elements.join('-') // Fire-Air-Water elements.toString() // Fire,Air,Water