How to Catch (and Fix) JavaScript TypeErrors
It's Friday afternoon and you decide to check on your web logs one last time before you go out for the weekend. Since you've deployed recently, you want to make sure everything is going smoothly. You open your tool and suddenly you find your screen flooded with TypeErrors. Does this sound familiar? JavaScript TypeError is one of the most common browser errors because it wraps a number of different situations, each of which needs to be handled separately.