https://programmers.co.kr/learn/courses/30/lessons/12910
function solution(arr, divisor) {
var answer = [];
for(const num of arr ){
if(num % divisor === 0) answer.push(num)
}
if(answer.length === 0) return [-1]
return answer.sort((a,b) => a-b)
}