make a list of numbers into an array javascript code example Example: integer to array javascript Array.from(String(12345), Number);