1 2 3 4 5 6
const getLunch = () => placeOrder('tacos') .then(eat); const placeOrder = (order) => Promise.resolve(order); const eat = (food) => '<nom nom nom>';