Question from the Javascript - Fundamentals test

Archived

What can be said about the following code?

const notes = [10, 7, 9]; 
const average = notes.filter(x > 10); 
console.log(average); 
Author: KahinaStatus: Archived(New question!)Question passed 27 times
-1
Community Evaluations
developer avatar
Erwan
29/03/2022
la question est fausse : notes.filter(x => x > 10) .. ici ça plante