Created
August 24, 2022 17:45
-
-
Save cesardpaz/05120674d1aed93770cb8d1f3a470132 to your computer and use it in GitHub Desktop.
js create array javascript of string, explode
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
var pizza = "porción1 porción2 porción3 porción4 porción5 porción6"; | |
var porciones = pizza.split(' '); | |
document.write(porciones[2]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment