DEV Community

Manu Krishnan
Manu Krishnan

Posted on

2 1

JS tips - Operator which can detect null and undefined but no other falsy values like zero,false, empty string in javascript

In one word its a very simple solution, i.e. Nullish coalescing operator (??)

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series