If you’re there I really need some help solving this code. PLEASE
Modify the function to return the count of how many people are 16 or older.
function countLegalDrivers(people) {
}
/* Do not modify code below this line */
const examplePeopleArray = [
{ name: ‘John’, age: 15 },
{ name: ‘Jane’, age: 16 },
{ name: ‘Jack’, age: 17 }
];
console.log(countLegalDrivers(examplePeopleArray), ‘<-- should be 2’);