'concat()' Example : concat 2 « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- concat 2
'concat()' Example
<html>
<body>
<button onclick="var myS = new String('First String ');
alert(myS.concat('Another string'));">add two strings together</button>
</body>
</html>
Related examples in the same category