문제
입력값
코드
const fs = require('fs');//백준 제출용
// const input = fs.readFileSync("/dev/stdin").toString().trim();//문제풀이용
const input = fs.readFileSync('example.txt').toString().trim();
//결과값이 공백이 없이 나와야하기떄문에 trim()을 써주었습니다.var surprise = '??!';
console.log(input + surprise);
출력을 해보았더니 정상적으로 출력되어서 나오는걸 알수있습니다.