Flashes Home Search Notifications Sign in Post
FabiDev @fabidev.net · Nov 3

#javascript / #typescript #developer tip: Do you actually know the difference between the ?? and || operator? ?? will only check for a nullish value (like null or undefined) while || checks for any falsy value, here is a quick #code example:

4 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

FAQs Feedback

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store

Feeds

  • Global
  • Trending
  • Blacksky Images
  • Photography
  • Discover
Browse all feeds
Feedback Ideas, bugs, and what ships next
Privacy Policy Terms and Conditions FAQs Bluesky Instagram Threads
Get it on the App Store