Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var first_word = "Hello,";
- var a_space = " ";
- var last_word = "world!";
- // you can also initialize a variable with the result of the concatenation
- var a_sentence = first_word + a_space + last_word;
- console.log(a_sentence);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement