...

/

Solution Review: Anonymous Functions

Solution Review: Anonymous Functions

In the following lesson, we will go over the solution of the challenge: Anonymous Functions.

Task

In this challenge, you had to create two functions.

  1. printAdd - add two numbers and prints the result
  2. printSubtract - subtracts two numbers and prints the result

Solution

A skeleton of the function was already provided for you. Let’s look it over. ...