get the string value from array javascript code example Example: print whole array javascript print whole array on one line without brackets javascript