this syntax hurts my head
-
-
-
As with all syntax, it takes a little getting used to.
- Još 10 drugih odgovora
Novi razgovor -
-
-
Tweet je nedostupan.
-
Yep. Almost feels like they’re copying C# some days.
- Još 3 druga odgovora
-
-
-
Now this is interesting. Dealing with API responses, which often involve lots of might-be-empty fields, are often painful without this.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
when? ??
-
You can get it now using a Babel plugin, search for "plugin-proposal-optional-chaining"
Kraj razgovora
Novi razgovor -
-
-
This is so sexy.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
SAY NULLISH COALESCING ONE MORE TIME!!! :D thanks for the examples, very clear.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Or just, you know, monads.
-
Oh it makes me so grumpy!
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
Optional chaining syntax is coming to JavaScript!
This feature enables readable and concise expression of property accesses with built-in nullish checking.