HIDE PLAYLIST

Calculate a sum using reduce in ImmutableJS


The reduce function in ImmutableJS allows you to transform and create new data from an existing data structure. In this example, we will do some math and calculate a sum based on data in an ImmutableJS Map.