Named Imports: Can't figure why I can't advance in class w/ this code, as i get a correct solution

import {availableAirplanes, flightRequirements, meetsStaffRequirements} from './airplane';

function displayFuelCapacity() {

  availableAirplanes.forEach(function(element) {

    console.log('Fuel Capacity of ' + element['name'] + ': ' + element['fuelCapacity']);



function displayStaffStatus() {

  availableAirplanes.forEach(function(element) {

    console.log(`${} meets staff requirements: ${meetsStaffRequirements(element.availableStaff, flightRequirements.requiredStaff)}`)





Can’t figure why with this code i can’t advance in the class(won’t allow me to correctly pass step 6.), as i tried it in VS CODE and it correctly displays everything that is supposed:
“AeroJet meets staff requirements: true
SkyJet meets staff requirements: false”


Is it this lesson you’re attempting?

If so, step 6 says to

Call the displaySpeedRangeStatus() function.

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