395 B
395 B
title | localeTitle |
---|---|
Appending Variables to Strings | 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!"