13 lines
395 B
Markdown
13 lines
395 B
Markdown
|
---
|
||
|
title: Appending Variables to Strings
|
||
|
localeTitle: Anexando Variables a las Cadenas
|
||
|
---
|
||
|
## Anexando Variables a las Cadenas
|
||
|
|
||
|
Asegúrese de que su ortografía y el espaciado son correctos. Anexar cadenas (almacenadas dentro de variables) se puede hacer así:
|
||
|
```
|
||
|
var adj = "happy!";
|
||
|
var sent = "Today, I woke up being ";
|
||
|
sent += adj; // The result is "Today, I woke up being happy!"
|
||
|
|
||
|
```
|