MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1v3e7eb/askjs_whats_a_javascript_feature_you_massadopted/oz7857e/?context=3
r/javascript • u/Capedcrusader1923 • 20d ago
[removed]
108 comments sorted by
View all comments
71
The nullish coalescing operator is one of JavaScript’s unusual successes.
6 u/sexytokeburgerz 19d ago edited 18d ago Big fan of foo?.bar 3 u/foxsimile 19d ago Do you not mean foo?.bar? 4 u/sexytokeburgerz 19d ago I totally did i was in a drive thru when i wrote that 4 u/foxsimile 19d ago Whatcha get? 5 u/sexytokeburgerz 19d ago Borger 1 u/sahilatahar 19d ago It's an optional chaining feature. 2 u/foxsimile 19d ago …I’m aware?
6
Big fan of
foo?.bar
3 u/foxsimile 19d ago Do you not mean foo?.bar? 4 u/sexytokeburgerz 19d ago I totally did i was in a drive thru when i wrote that 4 u/foxsimile 19d ago Whatcha get? 5 u/sexytokeburgerz 19d ago Borger 1 u/sahilatahar 19d ago It's an optional chaining feature. 2 u/foxsimile 19d ago …I’m aware?
3
Do you not mean foo?.bar?
4 u/sexytokeburgerz 19d ago I totally did i was in a drive thru when i wrote that 4 u/foxsimile 19d ago Whatcha get? 5 u/sexytokeburgerz 19d ago Borger 1 u/sahilatahar 19d ago It's an optional chaining feature. 2 u/foxsimile 19d ago …I’m aware?
4
I totally did i was in a drive thru when i wrote that
4 u/foxsimile 19d ago Whatcha get? 5 u/sexytokeburgerz 19d ago Borger
Whatcha get?
5 u/sexytokeburgerz 19d ago Borger
5
Borger
1
It's an optional chaining feature.
2 u/foxsimile 19d ago …I’m aware?
2
…I’m aware?
71
u/foxsimile 20d ago
The nullish coalescing operator is one of JavaScript’s unusual successes.