I really like the optional chaining operator and the null coalescing operator in Kotlin and I'd love to see them in JS. The latter is called "Elvis operator" (?:) in Kotlin, btw.
Yeah, both of those are really cool and helpful features. Thanks for sharing about the "Elvis operator" I didn't know that!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.