DEV Community

Cover image for What's the difference between logical OR || and nullish coalescing ??
Mohamed Idris
Mohamed Idris

Posted on

What's the difference between logical OR || and nullish coalescing ??

Here's the answer from StackOverflow:
https://stackoverflow.com/questions/61480993/when-should-i-use-nullish-coalescing-vs-logical-or

Top comments (0)