
What's Prototypes for JavaScript?

"join" concatenates the array elements with a specified separator between them.
<html>
<HEAD>
</HEAD>
<body>
<script type="text/javascript">
var days = ["Sunday","Monday","Tuesday","Wednesday", "Thursday","Friday","Saturday"];
document.write(days.join(","));
</script>
</body>
</html>
This gives result as-
Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday ;
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.