Basic Data Structures - Use an Array to Store a Collection of Data

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

let yourArray = [
  ["a", 2, true, "c", null, { name: "john" }],
  ["a", 2, true, "c", null, { name: "john" }],
  ["a", 2, true, "c", null, { name: "john" }],
  ["a", 2, true, "c", null, { name: "john" }],
  ["a", 2, true, "c", null, { name: "john" }]
]; // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Basic Data Structures - Use an Array to Store a Collection of Data

Link to the challenge:

Welcome to our community!

Your array has five sub-arrays. That is not what you are expected to have here. You have to create only one array with the required elements.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.