?.
operator
The optional chaining operator returns undefined
instead of causing an error if a reference is nullish (null
or undefined
).
?.
operatorThe optional chaining operator returns undefined
instead of causing an error if a reference is nullish (null
or undefined
).