const data = { weight: 70, drinks: [ { type: 'beer', amount: 1, }, { type: 'wine', amount: 1, }, ], }; // Your code here console.log(decideOnDrivingAbility(data));