read a js array from the right code example
Example 1: number to array js
const arrayOfDigits = numToSeparate.toString().split("");
Example 2: javascript to array
Array.from("Hello"); // ["H", "e", "l", "l", "o"]
const arrayOfDigits = numToSeparate.toString().split("");
Array.from("Hello"); // ["H", "e", "l", "l", "o"]