Generic Functions Example - Typing `reduce`
This lesson walks through the implementation of an example generic function. Typing array utility functions is a great exercise that helps you fully understand the complexities of generics.
What is reduce?
Array.reduce is an extremely versatile function that lets you ...