Discover Functional Programming in JavaScript with this thorough introduction

PHOTO EMBED

Sat Jun 05 2021 23:51:10 GMT+0000 (Coordinated Universal Time)

Saved by @stevengonzalez #javascript

const numbers = [1,2,3,4,5,6];
function isEven(number){
  return number % 2 === 0;
}
const evenNumbers = numbers.filter(isEven);
content_copyCOPY

https://www.freecodecamp.org/news/discover-functional-programming-in-javascript-with-this-thorough-introduction-a2ad9af2d645/