June 25th, 2024
Help Alex track his workout consistency for the past week! 👟📅
What's missing in this code?
const workoutTracker = [
'false',
'true',
'false',
'true',
'false',
'false',
'true',
];
const dayCount = workoutTracker.
(
(day) =>
);
console.log(dayCount); // ['true', 'true', 'true']
Type or select from these options