카테고리 없음
자바스크립트 object -> string 변환법
CODE_PLAN
2022. 8. 31. 14:16
let input = fs.readFileSync(filePath).toString().split('\n');
console.log(typeof input) // typeof input => object
input = input[0]; // -> object => string
console.log(typeof input) //typeof input => string