const arr = [1, 2, 3, 4, 5] // 방법 1. process.stdout.write() - 너무 느림! 지양할 것 arr.forEach(element => { process.stdout.write(element) // error process.stdout.write(`${element} `) // 1 2 3 4 5 }) // 방법 2. join(" ") console.log(arr.join(' ')); // 1 2 3 4 5 console.log(arr.join()); // 1,2,3,4,5 console.log(arr.toString()); // 1,2,3,4,5 // 방법 3. for문 let result = '' for (let i = 0; i < arr.length; i++) ..