Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 3 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

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!

Profilbild von Alex Robinett
Alex Robinettvor 3 Jahren

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!

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

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

Profilbild von K.O.O x #SailsconfAF2025
K.O.O x #SailsconfAF2025vor 3 Jahren

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

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

For sure! Quite a few use cases.

Profilbild von gabriel 繁栄
gabriel 繁栄vor 3 Jahren

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!!!

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

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!

Profilbild von DeFi Prince | (Ø,G)
DeFi Prince | (Ø,G)vor 3 Jahren

New this Buh the name took long to stick

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

Glad you were familiar with it!

Profilbild von Lennox Charles 🚀
Lennox Charles 🚀vor 3 Jahren

Thanks for sharing Danny, this is useful 🤝

Profilbild von Danny Thompson
Danny Thompsonvor 3 Jahren

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

Ähnliche Videos