salesCalc.js
// customers and cookie sales per hour, respectively. 

customers and cookie sales per hour, respectively.
customers and cookie sales per hour respectively .
function ShopLocation(locationName, minCustomers, maxCustomers, avgPurchase) {
    this.locationName = '' + locationName;
    this.minCustomers = parseInt(minCustomers, 10);
    this.maxCustomers = parseInt(maxCustomers, 10);
    this.avgPurchase = parseInt(avgPurchase, 10);
    this.hrlyCustEstimate = [];
    this.hrlyCookEstimate = [];
    ShopLocation.allLocations.push(this);
    this.simHourlyCustomers();
    this.simHourlyCookies();
}
function ShopLocation ( locationName , minCustomers , maxCustomers , avgPurchase ) { this . locationName = '' + locationName ; this . minCustomers = parseInt ( minCustomers , 10 ) ; this . maxCustomers = parseInt ( maxCustomers , 10 ) ; this . avgPurchase = parseInt ( avgPurchase , 10 ) ; this . hrlyCustEstimate = [ ] ; this . hrlyCookEstimate = [ ] ; ShopLocation . allLocations . push ( this ) ; this . simHourlyCustomers ( ) ; this . simHourlyCookies ( ) ; }
customers and cookie sales per hour, respectively.
customers and cookie sales per hour respectively .