Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Javascript has a really cool operator called Nullish Coalescing & it can help you out! It's a logical operator that returns the value of the right side if it is null or undefined const cars = numberOfCars ?? 'incomplete data' If the numberOfCars is null we see incomplete data

73,419 görüntüleme • 3 yıl önce •via X (Twitter)

11 Yorum

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

Like this kind of tech content? Let me know! Thinking about creating a lot more of it. Breakdowns to make concepts easier to digest and understand. Make sure to share this with someone! Never know who might learn something new!

Alex Robinett profil fotoğrafı
Alex Robinett3 yıl önce

Haha I wish I had seen this before my technical interview yesterday! I got asked what Nullish Coalescing is?! I got it confused with optional chaining. Next time I will be prepared! Thanks for the quick and concise explanation!

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

Oh nice!!! That's right on time!

K.O.O x #SailsconfAF2025 profil fotoğrafı
K.O.O x #SailsconfAF20253 yıl önce

Thanks for sharing Danny. Nullish coalescing does come in handy!

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

For sure! Quite a few use cases.

gabriel 繁栄 profil fotoğrafı
gabriel 繁栄3 yıl önce

ive been working with software development for like 4 years and lately I'm not very into it anymore but you explain things in a such amazing way that made me excited about it again!!! thank u so much bro, ure awesome!!!

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

You genuinely do not know how much comments like this truly mean to me! This is what it is all about and why I do this! Happy to help bring the spark back and get you excited about development again!

DeFi Prince | (Ø,G) profil fotoğrafı
DeFi Prince | (Ø,G)3 yıl önce

New this Buh the name took long to stick

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

Glad you were familiar with it!

Lennox Charles 🚀 profil fotoğrafı
Lennox Charles 🚀3 yıl önce

Thanks for sharing Danny, this is useful 🤝

Danny Thompson profil fotoğrafı
Danny Thompson3 yıl önce

Glad you found it useful! Never know who needs to see it and learn from it!

Benzer Videolar