Contact: aviboots(AT)netvision.net.il
43,956 questions
57,384 answers
573 users
const num = 1562734; const array = new String(num).toString().split(''); console.log(array); /* run: ['1', '5', '6', '2', '7', '3','4'] */