xxxxxxxxxx
<script>
// Original strings
var str1 = new String('Geeks');
var str2 = new String('for');
var str3 = new String('Geeks');
// Combines the text of two strings and
// returns a new string.
var str = str2.concat(str3.toString())
str = str1.concat(str.toString())
console.log("Concatenated String : " + str);
</script>