Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Read an Item by Index

Each index points to one position in an array.

Example

const sizes = ["S", "M", "L"]; console.log(sizes[1]);

Your task

Predict days[2], then add an Actual: line that reads that index. Both lines should show Wednesday.

Hint

Count positions from zero when you make your prediction.