convert any string present inside array to int javascript code example Example: convert array to number let x = [1,2,3,4,5] let num = +x.join("")