Yay finally JavaScript is getting inspiration from Kotlin!
Edit: After seeing a few comments looks like this is already in a few other languages
Yeah, some other languages also have this!
and finally JS also will have it :)
Sorry for the late reply. Also Nullish coalescing operator? Who makes these names? We should call it the elvis operator
Nullish coalescing operator
Usually, they come from Math people 🤣🤣🤣
No doubt
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 🥳
You can always create a C#/Node project and call it from JS :D
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yay finally JavaScript is getting inspiration from Kotlin!
Edit: After seeing a few comments looks like this is already in a few other languages
Yeah, some other languages also have this!
and finally JS also will have it :)
Sorry for the late reply. Also
Nullish coalescing operator
? Who makes these names? We should call it the elvis operatorUsually, they come from Math people 🤣🤣🤣
No doubt
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 🥳
You can always create a C#/Node project and call it from JS :D