Fixing undefined is not a function Using Maybes - 5 of 13 - Default Values via Lodash getOr
Channel: Jesse Warden
Date: 2019-09-02

Playlist: https://www.youtube.com/watch?v=IJQkiKoR2Ac&list=PLZEZPz6HkCZkg-iXJ4NM-7Ebt4YQ3YT19
In this 13 part series, we'll cover the two most common scenarios for null pointers and how to fix them using Maybes. We'll cover what Object property and Array index operations are, how they cause null pointers, and how undefined can trigger downstream null pointers. We'll then show a variety of ways of using the ideas around Maybes, default values, and safe get operations to ensure our code doesn't explode.