this syntax hurts my head
-
-
-
As with all syntax, it takes a little getting used to.
- 10 more replies
New conversation -
-
-
This Tweet is unavailable.
-
Yep. Almost feels like they’re copying C# some days.
- 3 more replies
-
-
-
Now this is interesting. Dealing with API responses, which often involve lots of might-be-empty fields, are often painful without this.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
when? ??
-
You can get it now using a Babel plugin, search for "plugin-proposal-optional-chaining"
End of conversation
New conversation -
-
-
This is so sexy.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
SAY NULLISH COALESCING ONE MORE TIME!!! :D thanks for the examples, very clear.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Or just, you know, monads.
-
Oh it makes me so grumpy!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Optional chaining syntax is coming to JavaScript!
This feature enables readable and concise expression of property accesses with built-in nullish checking.