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

Exercise prompt

Create an Array

An array keeps several related values in one ordered collection.

Example

const colors = ["red", "blue"];

Your task

Create pets containing cat, dog, and fish, then display Pets: cat,dog,fish.