exercises/storeWithObjects.js
/**
 * Returns `true` if the given user can afford to buy the given sofa
 * and `false` otherwise.
 */
Returns `true` if the given user can afford to buy the given sofa
and `false` otherwise.
Returns ` true ` if the given user can afford to buy the given sofa and ` false ` otherwise .
function userCanAffordSofa(user, sofa) {
  if (user['budget'] >= sofa['price']){
return true;
  }
}
function userCanAffordSofa ( user , sofa ) { if ( user [ 'budget' ] >= sofa [ 'price' ] ) { return true ; } }
Returns `true` if the given user can afford to buy the given sofa
 and `false` otherwise.
Returns ` true ` if the given user can afford to buy the given sofa and ` false ` otherwise .
// This is your job. :) //return user['budget'] >= sofa['price'];