how to get text from an array in js code example Example: javascript print array var arr = [1,2,4,5] console.log(...arr) //Spreading operator in JS