Konwertuj numer na tablicę cyfr JS

let number = 123456;

let numArray = number.toString().split(''); //[1,2,3,4,5,6]

for(let i = 0; i < numArray.length; i++){
      console.log(numArray[i])
	}
Meti