I need help understanding this "e=>e"
22:50 14 Mar 2026

Inside the filter we must call a function i know, so what's this abbreviation "e=>e" stands for?

let filtering = (arr) => {
  let listArr = arr;
  let newArr = listArr.filter(e=>e);
  
  return newArr;
};

let test = filtering([null, NaN, 1, 2, undefined]);

console.log(test);
javascript arrays