steren’s avatarsteren’s Twitter Archive—№ 5,412

  1. 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"
    OpenGraph image for caniuse.com/#feat=mdn-javascript_operators_optional_chaining