Edit It: What happens if you omit the reduce() method's initialValue argument
This code illustrates how the reduce() method work without an initialValue argument.
See it on StackBlitzThis code illustrates how the reduce() method work without an initialValue argument.
See it on StackBlitz