Math.max(), Math.min() 입력값으로 받은 0개 이상의 숫자 중 가장 큰(작은) 숫자를 반환합니다. console.log(Math.max(-1, -3, -2)); // -1 const array1 = [1, 3, 2]; console.log(Math.max(...array1)); //3 문자열이 들어가도 됨 리턴하는 값의 타입은 Number const str = "-1 -2 -3 -4"; const arr = str.split(" "); console.log(Math.max(...arr)); //-1 console.log(typeof Math.max(...arr));number Math.ceil() - 올림 - always rounds up and returns the smallest in..