Optional chaining and Nullish coalescing
Optional chaining (?.)
As you know if there is a undefined property in object and we try to access then it throws error and stops the flow of code
const obj = {
name:"sagar",
}
console.log(obj.ag
blog.sagarkemble.dev2 min read