해야할 것
TIL
#javascript
#BOJ
const fs = require('fs'); // fs모듈
const filePath = process.platform === 'linux' ? '/dev/stdin' : './input.txt'; // 백준 채점코드 플랫폼이 리눅스임 그래서 파일경로는 /dev/stdin 그렇지 않으면 내가만든 입력 텍스트파일
let input = fs.readFileSync(filePath).toString().split('\n'); // 입력 텍스트 파일을 통채로 문자열로 읽어서 개행으로 쪼갠 뒤(한줄씩) 배열로 저장
input = input[0];
input = input.split(' '); // split 메서드가 쪼갠 뒤 배열로 저장하는 메서드.
let input1 = Number(input[0]);
let input2 = Number(input[1]);
solution(input1, input2);
function solution(A, B) {
console.log(A + B);
}