...

/

Total Cart Price: Exercise

Total Cart Price: Exercise

Write a point-free function to calculate a shopping cart’s total price in dollars.

We'll cover the following...

Calculate a shopping cart’s total price in dollars.

Usage

const price = getTotalPrice(cart); // '$44.20'

Your solution must be point-free.

Press + to interact
index.js
cart.js
import {} from 'ramda';
import cart from './cart';
const getTotalPrice = () => {};
Loginto save progress

cond

Total Cart Price: Solution Review

Loginto save progress