Higher-Order Functions Lab

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.

Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser