JavaScript: How Optional Chaining is going to change your code
Ever cursed your code when you had to make sure a nested property in a deep object exists? Curse no more!
Published in
3 min readMar 17, 2021
Whenever you’re dealing with an object in JavaScript you often want to get data out of it. And when you want to get something out of an object that is nested a few layers deep you…