ALFT: M5L4 - Warm-up '24

  1. Use a method to add an additional vegetable to the vegetables array.
  2. Can you make the vegetable you added appear first in the list?

Bonus

  1. Create a new array called fruits with at least 5 different fruits.
  2. Use a method to combine the vegetables and fruits arrays into a new array called produce.
  3. Use a method to sort the produce array in alphabetical order.
  4. Use a method to reverse the order of the produce array.
  5. 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 (;)