const n = null
console.log(n?.something) // undefined
const o = {}
console.log(o?.something) // undefined
function test(d = 0) {
console.log({ d })
}
test(o?.something) // { d : 0 }
test(n?.something) // { d : 0 }
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)