What value is obtained when executing the following code?
const arr = [2, 4, 6];
const result = arr.filter(x => x > 4);
console.log(result.length);
What value is obtained when executing the following code?
const arr = [2, 4, 6];
const result = arr.filter(x => x > 4);
console.log(result.length);