Hp2240 / u1_lab_HOF

Practice using array methods .map(), .filter(), and .reduce().

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Higher Order Functions Exercise

Map

Overview

In this lab, you will create functions that accomplish the specified goal to practice using Higher Order Functions.

Getting Started

  • Fork and Clone
  • npm install in this directory
  • npm test to check the installation

Objectives

  • Practice using .map(), .filter(), and .reduce()

Instructions

Follow the prompts in the provided index.js. Once completed you should have 7 passing tests not including the bonuses. The unit tests will restart once you save your index.js. Don't spend too much time on one function! If you get stuck move on to the next one.

To exit the unit tests, in your terminal press ctrl+c or q

About

Practice using array methods .map(), .filter(), and .reduce().


Languages

Language:JavaScript 100.0%