<html>
<body>
<script type="text/javascript">
var nameArray = new Array(3)
nameArray[0] = "Joe"
nameArray[1] = "Dan"
nameArray[2] = "Darlene"
var nameArray2 = new Array(3)
nameArray2[0] = "Lee"
nameArray2[1] = "Zong"
nameArray2[2] = "JJ"
var nameArray3 = new Array("Firat","Basdr")
document.write(nameArray.join() + "<br>")
document.write(nameArray.concat(nameArray2) + "<br>")
document.write(nameArray.concat(nameArray2,nameArray3) + "<br>")
document.write(nameArray.slice(1) + "<br>")
</script>
</body>
</html>
|