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