I need help understanding this "e=>e"
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);