Link Search Menu Expand Document

Use an Array to Store a Collection of Data

Summary

  • A one-dimensional array does not have arrays nested inside it.

Final Code

let yourArray = [1, true, 2, false, "hello"]; // Change this line