Cheapest Item: Exercise
Write a point-free function to return a cart's cheapest item.
We'll cover the following...
Given a cart, return the cheapest item’s name.
Usage
const cheapestItem = getCheapestItem(cart); // 'apple'
Your solution must be point-free.
Press + to interact
index.js
cart.js
import {} from 'ramda';import cart from './cart';const getCheapestItem = () => {};
to save progress
Total Cart Price: Solution Review
Cheapest Item: Solution Review
to save progress