Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
basic
035stringmethods_concate.js
035stringmethods_concate.js
/** * String methods: concat */ var str, item1, item2; str = 'I want to buy: '; item1 = 'milk, '; item2 = 'chocolate '; str = str.concat(item1, item2); console.log(str); //S
Reload page
Preview
W3C validation
Edit Code
JS Console