javascript how to convert values to an array code example Example: convert array to number let x = [1,2,3,4,5] let num = +x.join("")