-
Just a reminder that JavaScript optional chaining is supported in all major browsers: caniuse.com/#feat=mdn-javascript_operators_optional_chaining This means things like
user?.name
would return a nice "undefined" instead of yelling "Uncaught TypeError: Cannot read property name of undefined"