Joel Thoms 🍻 on Twitter: "💡TIP: filter and then map will loop through the array twice. This may (or may not) have a performance impact. To loop through the list one time,
map(), .reduce(), and .filter() for your next interview
Map, filter, and reduce explained using emoji : Global Nerdy
Javascript Map/Filter | TechyOwls
Comparing JS iteration methods (map, filter, forEach, reduce + loops) - DEV Community 👩💻👨💻