Trying to write a basic reducer to return an array of (value of) a key from an array of objects. Some of the key can be missing or undefined.
My code: