r/FullStack • u/CulturalSpite1104 • Jul 17 '25
Question optional chaining in js ??
why to use if have ternary operator ??
don't know if has some used over production ...
0
Upvotes
r/FullStack • u/CulturalSpite1104 • Jul 17 '25
why to use if have ternary operator ??
don't know if has some used over production ...
View all comments
Show parent comment
1
u/SpookyLoop Jul 17 '25
What?
??isn't "optional chaining", it's "nullish coalescing". I figured OP was just casually using ?? to express confusion.