Objective: Create an array and add a new element to the beginning of it.
Instructions:
Define the Array:
Create an array variable named
colorsand assign it the initial values['blue', 'green', 'yellow'].
Add an Item:
Add the color
redat the beginning of the arraycolors.
Submit the updated array contained in the variable
colors.
Expected Result:
Submit the variable colors as your answer. See example below:
Install the snippet to get started: https://www.xano.com/snippet/XwN5GThx