r/learnjavascript • • Feb 16 '21

Javascript Object Merge

Post image
183 Upvotes

28 comments sorted by

View all comments

17

u/very-kind-stranger Feb 16 '21

ES2020 introduced the nullish coalescing operator denoted by the double question marks ( ?? ). It returns the right operand ( rightExpression ) if the left operand ( leftExpression ) is null or undefined . A nullish value is a value that is either null or undefined .

1

u/NCKBLZ Feb 17 '21

Thanks

1

u/[deleted] Feb 17 '21

You're welcome.