map join javascript code example Example 1: joining array of string Array.join() Example 2: js array join ['h', 'e', 'y'].join('') // hey