Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Codecademy export
import {availableAirplanes, flightRequirements, meetsStaffRequirements} from './airplane';
const displayFuelCapacity = () => {
availableAirplanes.forEach(element =>
{
console.log(`Fuel Capacity of ${element.name}: ${element.fuelCapacity}`)});
};
displayFuelCapacity();
function displayStaffStatus() {
availableAirplanes.forEach(function(element){});
}
const displayStaffStatus = () => {
availableAirplanes.forEach(function(element){});
}
const displayStaffStatus = () => {
availableAirplanes.forEach(element => {
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.