Section 1 - Instruction

You've learned how to create arrays, access items by index, and modify their contents. Let's practice combining these core array skills together.

Engagement Message

Ready to show what you know about working with arrays?

Section 2 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Let's work with a shopping list. Fill in the blanks to create an array, access the second item, and change it to something else.

Suggested Answers

  • "bread"
  • 1
  • 2
  • 0
  • 1
Section 3 - Practice

Type

Multiple Choice

Practice Question

Which of these statements about JavaScript arrays is correct?

A. Arrays can only hold one type of data at a time B. Array indexing starts at 1 for the first item C. You can change items in an array after it's created D. Empty arrays cannot be created in JavaScript

Suggested Answers

  • A
  • B
  • C - Correct
  • D
Section 4 - Practice

Type

Sort Into Boxes

Practice Question

Sort these array operations into the correct boxes:

Labels

  • First Box Label: Reading Data
  • Second Box Label: Changing Data

First Box Items

  • scores[0]
  • colors[1]

Second Box Items

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal