Thursday, August 1, 2013

JavaScript arrayconcat 02.

<html><body>

<script type="text/javascript">

var parents = ["Roni", "Sabiha"];
var brothers = ["Rashid", "Nurul", "Badal"];
var children = ["Alam", "Mitu"];
var family = parents.concat(brothers, children);
document.write(family);

</script>

</body>
</html>
Result

No comments: