12 lines
456 B
Markdown
12 lines
456 B
Markdown
|
---
|
||
|
title: Appending Variables to Strings
|
||
|
---
|
||
|
## Appending Variables to Strings
|
||
|
|
||
|
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||
|
Make sure your spelling and spacing are correct. Appending strings (stored inside variables) can be done like so:
|
||
|
|
||
|
var adj = "happy!";
|
||
|
var sent = "Today, I woke up being ";
|
||
|
sent += adj; // The result is "Today, I woke up being happy!"
|