in array each value are different string in javascript code example Example: js array to string var myArray = ['no','u']; var myString = myArray.toString();