프로그래머스 문제
function solution(x) { const divisor = x.toString().split("").reduce((acc, cur)=> acc += +cur, 0); return x % divisor === 0;