Challenge: Defining An Array
Task
Swipe to start coding
- Create an array named
favoriteFoods
that contains the following three elements:"Pizza"
,"Sushi"
,"Burger"
. - Use elements in the provided order.
- Print the
favoriteFoods
array.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 2