- Use a method to add an additional vegetable to the
vegetables
array. - Can you make the vegetable you added appear first in the list?
Bonus
- Create a new array called
fruits
with at least 5 different fruits. - Use a method to combine the
vegetables
andfruits
arrays into a new array calledproduce
. - Use a method to sort the
produce
array in alphabetical order. - Use a method to reverse the order of the
produce
array. - Create a new variable called
produceString
and use the join method to convert the produce array into a string with each item separated by a semicolon (;)