how to split a string number to be arrays example :
var str = "124590"
var str2 = "12459010"
// output:
["12", "45", "90"]
["12", "45", "90", "10"];
and how to make those array strings to be number also in the array, and if we use regex, could it work? thx