1var arr = [1, 25, 20, 4];
2
3var sum = arr.map((item) => item * 10).filter((item) => item > 100);
4var sum2 = arr.map((item) => item * 10)
5console.log("sum2", sum2)
6// sum2 : (4) [10, 250, 200, 40]
7console.log("sum", sum);
8// sum : (2) [250, 200]
9
1var arr = [1, 25, 20, 4];
2
3var sum = arr.map((item) => item * 10).filter((item) => item > 100);
4var sum2 = arr.map((item) => item * 10)
5console.log("sum2", sum2)
6// sum2 : (4) [10, 250, 200, 40]
7console.log("sum", sum);
8// sum : (2) [250, 200]