Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to JavaScript@programming.devEnglish · 1 month ago

Mastering default values in JavaScript with the nullish coalescing (??) operator - Matt Smith

allthingssmitty.com

external-link
message-square
2
link
fedilink
8
external-link

Mastering default values in JavaScript with the nullish coalescing (??) operator - Matt Smith

allthingssmitty.com

codeinabox@programming.dev to JavaScript@programming.devEnglish · 1 month ago
message-square
2
link
fedilink
The nullish coalescing operator ('??') provides a simple way to handle null or undefined values in JavaScript. It's a must-have, let me show you why.
  • [object Object]@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    Title sounds sarcastic 😭

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Right ??

JavaScript@programming.dev

javascript@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !javascript@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 14 users / week
  • 48 users / month
  • 242 users / 6 months
  • 1 local subscriber
  • 2.58K subscribers
  • 129 Posts
  • 68 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • nick@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org