-
-
Save parzibyte/376cb04025a433a34fcb2d096c82c459 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
const arreglo = [5, 6, 7]; | |
console.log("Antes de agregar es: " + arreglo); | |
arreglo.unshift(2, 3, 4); | |
console.log("Después de agregar dos elementos es: " + arreglo); | |
arreglo.unshift(1); | |
console.log("Después de agregar un elemento es: " + arreglo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment