New ES Edition
Last updated
Was this helpful?
Last updated
Was this helpful?
Optional Chaining Operator
Instead of causing an error if a reference is ( or ), the expression short-circuits with a return value of undefined
Nullish Coalescing Operator
a logical operator that returns its right-hand side operand when its left-hand side operand is or , and otherwise returns its left-hand side operand. This can be contrasted with the , which returns the right-hand side operand if the left operand is any value, not only null
or undefined
.
Globalthis
type:module