MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1v3e7eb/askjs_whats_a_javascript_feature_you_massadopted/oz7c2o3/?context=3
r/javascript • u/Capedcrusader1923 • Jul 22 '26
107 comments sorted by
View all comments
68
The nullish coalescing operator is one of JavaScript’s unusual successes.
5 u/sexytokeburgerz Jul 22 '26 edited Jul 23 '26 Big fan offoo?.bar 3 u/foxsimile Jul 23 '26 Do you not mean foo?.bar? 3 u/sexytokeburgerz Jul 23 '26 I totally did i was in a drive thru when i wrote that 4 u/foxsimile Jul 23 '26 Whatcha get? 6 u/sexytokeburgerz Jul 23 '26 Borger
5
Big fan of
foo?.bar
3 u/foxsimile Jul 23 '26 Do you not mean foo?.bar? 3 u/sexytokeburgerz Jul 23 '26 I totally did i was in a drive thru when i wrote that 4 u/foxsimile Jul 23 '26 Whatcha get? 6 u/sexytokeburgerz Jul 23 '26 Borger
3
Do you not mean foo?.bar?
3 u/sexytokeburgerz Jul 23 '26 I totally did i was in a drive thru when i wrote that 4 u/foxsimile Jul 23 '26 Whatcha get? 6 u/sexytokeburgerz Jul 23 '26 Borger
I totally did i was in a drive thru when i wrote that
4 u/foxsimile Jul 23 '26 Whatcha get? 6 u/sexytokeburgerz Jul 23 '26 Borger
4
Whatcha get?
6 u/sexytokeburgerz Jul 23 '26 Borger
6
Borger
68
u/foxsimile Jul 22 '26
The nullish coalescing operator is one of JavaScript’s unusual successes.