Need some help; do not see what is wrong!


#1

let Airplane = {};
Airplane.availableAirplanes = [ { name: ‘Aerojet’, fuelCapacity: 800}, {name: ‘Skyjet’, fuelCapacity: 500}];

Why is it not working?It seems everything perfect! It tells me “did you set a property name and fuelCapacity in the first object”!

https://www.codecademy.com/courses/intermediate-javascript-modules/lessons/modules/exercises/export-default?action=lesson_resume&course_redirect=introduction-to-javascript


#3

Non-standard quote marks are not recognized by the interpreter. Use ' or ".


#4

This topic was automatically closed after 7 days. New replies are no longer allowed.