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

Exercise prompt

Use Array Length

The .length property reports how many values an array contains.

Example

const tools = ["pen", "ruler"]; console.log(tools.length);

Your task

Create itemCount from items.length and display Items: 4.