The Price is Right

Setup

Fork this repo

Clone your personal copy of the repo to your local machine

Create an answer branch

The Assignment

Note: property, attribute, key are commonly used to describe details about objects.

In the initial commit to this project, you have been provided with files that contain a JavaScript module and some associated tests.

Your task is to implement a calculateTotal function which returns a new list of items using map. Each item will have a copy of the previous item's properties and will additionally have a new property named total. The value of total must be equal to the total price of that item given the quantity, price and discount. This exercise will be completed in class.