Created
August 7, 2019 16:30
-
-
Save parzibyte/0a4624626ca14ec3266dce0a38d7ed04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Agregar subcadena al inicio de otra cadena | |
* @author parzibyte | |
* Visita: parzibyte.me/blog | |
*/ | |
let cadena = "mundo"; | |
console.log("Antes: ", cadena); | |
cadena = "Hola " + cadena; | |
console.log("Después: ", cadena); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment