﻿// Flight Validator Constructor

function FlightValidator() {
}

// Instance methods for the RoomValidator class

// Assign the instance methods to the RoomValidator
// new FlightValidator();
// FlightValidator.prototype.method = method;

// Static class methods of RoomValidator
function ValidateFlight(adultCount, childCount, infantCount)
{
	return (adultCount >= infantCount);
}

// Assign the static class methods to the RoomValidator class
FlightValidator.ValidateFlight = ValidateFlight;
