Tell us what’s happening:
Guys,
I’m not sure why my code does not work.
Console returns:
// running test
yourArray contains at least one boolean
yourArray contains at least one number
yourArray contains at least one string
My code however does include boolean, number and strings.
I’d appreciate your help (-:
Your code so far
let yourArray; // change this line
yourArray = [{Model: "Ford"},{Type: "Coupe"},{Colour: "blue"},{Mileage: 4},{Damaged: true}];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/use-an-array-to-store-a-collection-of-data