https://programmers.co.kr/learn/courses/30/lessons/12939
function solution(s) {
var answer = '';
var answerArr = [];
var arr = s.split(' ');
answerArr.push(Math.min(...arr));
answerArr.push(Math.max(...arr));
answer = answerArr.join(' ');
return answer;
}