Child pages
  • fluid.accumulate

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • list {Array}: The list of objects to be accumulated over
  • fn {Function}: An "accumulation function" accepting the signature (object, total, index) where object is the list member, total is the "running total" object (which is the return value form the previous function), and index is the index number.
  • arg {Object}: The initial value for the "running total" object

Return Value

Object: the modified "arg" object