unction solution(arr, divisor) { let answer =[] for(i in arr){ if(arr[i] % divisor === 0){answer.push(arr[i])} } if(answer.length == 0){return [-1]}else{ return answer.sort((a,b)=> a-b)} }
filter
map