This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
const data = {
|
||||
weight: 70,
|
||||
drinks: [
|
||||
{
|
||||
type: 'beer',
|
||||
amount: 1,
|
||||
},
|
||||
{
|
||||
type: 'wine',
|
||||
amount: 1,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
// Your code here
|
||||
|
||||
console.log(decideOnDrivingAbility(data));
|
||||
Reference in New Issue
Block a user