create new array from objects es6 code example Example: number to array js const arrayOfDigits = numToSeparate.toString().split("");