concat() : Concating two or more strings in JavaScript

JS Script:

<html>
<body>
<script type="text/javascript">
var str1 = "Pritesh ";
var str2 = "Taral";
document.write(str1.concat(str2));
</script>
</body>
</html>

Output in Browser :

Pritesh Taral