Higher-Order Functions Lab

54.5% Acceptance

In this lab, you have to create and work with higher-order functions. A higher-order function is a function that takes other functions as arguments, returns a function as a result, or both. Your task is to create a filterArray function that filters an array based on a given filter function.

In addition, you'll write a simple isEven filter function and use it with filterArray to filter an array of numbers. You'll also learn how to export functions using ESM syntax.