I have a variable that holds a number
var simpleNumber = 012345678;
I want to .split()
this number and create an array that would be of each 3 numbers
the array should look like this
[012, 345, 678]
var splitedArray = simpleNumber.toString().split(/*how do i split this?*/);
it is part of a getRGB("ffffff") function, so i cant know what will be past in.
Thanks