/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//coded by cobra90nj var str = ""; var arrname = new Array(5); arrname[0] = "Hi, "; arrname[1] = "this "; arrname[2] = "is "; arrname[3] = "an "; arrname[4] = "example."; function arrtostr(arry) { for (var n in arry) { str += arry[n]; } return str; } alert(this.arrtostr(arrname));