DEV Community

loading...

Discussion on: 😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining

Collapse
mohamedelidrissi_98 profile image
Mohamed ELIDRISSI

Yay finally JavaScript is getting inspiration from Kotlin!

Edit: After seeing a few comments looks like this is already in a few other languages

Collapse
broderick profile image
Broderick Stadden

Kotlin is heavily inspired by C#. Which also influences TypeScript. I think the lesson is, C# does a lot right! I just wish there was a 1-to-1 implementation of LINQ in TypeScript 🥳

Collapse
sudojoe profile image
Joseph Locke

You can always create a C#/Node project and call it from JS :D

Collapse
lampewebdev profile image
Michael "lampe" Lazarski Author

Yeah, some other languages also have this!

and finally JS also will have it :)

Collapse
mohamedelidrissi_98 profile image
Mohamed ELIDRISSI

Sorry for the late reply. Also Nullish coalescing operator? Who makes these names? We should call it the elvis operator

Thread Thread
lampewebdev profile image
Michael "lampe" Lazarski Author

Usually, they come from Math people 🤣🤣🤣

Thread Thread
mohamedelidrissi_98 profile image