function estimateWorth(beds, baths, sqft, model) {
    let price = 0;
    price += beds * model[0];
    price += baths * model[1];
    price += sqft * model[2];
    price += model[3];
    return price;
}
/**
 * estimates how much a house is worth based on the current model.
 */
estimates how much a house is worth based on the current model.
estimates how much a house is worth based on the current model .
function estimateWorth(beds, baths, sqft, model) {
    let price = 0;
    price += beds * model[0];
    price += baths * model[1];
    price += sqft * model[2];
    price += model[3];
    return price;
}
function estimateWorth ( beds , baths , sqft , model ) { let price = 0 ; price += beds * model [ 0 ] ; price += baths * model [ 1 ] ; price += sqft * model [ 2 ] ; price += model [ 3 ] ; return price ; }
estimates how much a house is worth based on the current model.
estimates how much a house is worth based on the current model .