Exercise: Use reduce within a Knockout.js computed function in Magento
Learn how to use reduce within computed functions to aggregate and calculate values from observable collections.
Lesson Content
Create two more computed functions, similar to the last lesson, for:
Shipment weight
Billable weight
Hint: If you get stuck on Shipment weight, be sure to grab the specific related property name...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.