how to print array of names and int values js code example Example: convert array to number let x = [1,2,3,4,5] let num = +x.join("")