Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Defining An Array | Exploring Arrays
Introduction to JavaScript
Sectionย 5. Chapterย 2
single

single

bookChallenge: Defining An Array

Swipe to show menu

Task

Swipe to start coding

Create an array named favoriteFoods that contains the following three elements: "Pizza", "Sushi", "Burger".

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Sectionย 5. Chapterย 2
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt