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

Exercise prompt

Trace an Array Inside an Object

An object property can contain an array. After reading that property, array indexes and .length work as usual.

Example

const playlist = { title: "Focus", songs: ["One", "Two"] }; console.log(playlist.songs[1]);

Your task

Predict the last tag and the number of tags in article. Replace both empty predictions, then keep the supplied Actual: lines unchanged.