+ 2
How can i document.write () an Array without comma's?
For example: var Arr = ['a','b']; document.write(Arr); Output: a,b; I hope someone can help!
2 ответов
+ 10
I hope this should work :
document.write(Arr[0] +Arr[1]);
+ 1
try something like
document.write(Arr.join(" and "));