FrontEnd.ro logo
Funcții pe Array-uri / partea 2
let exercises = [
  { id: 8123, isSolved: true, topic: 'js' },
  { id: 751, isSolved: false, topic: 'react' },
  { id: 19, isSolved: true, topic: 'html' },
];

let didFinishTutorial = exercises.every((ex) => {
  return ex.isSolved === true;
});

console.log(didFinishTutorial);