by gleam_user · 4y ago · 0 comments
The ternary operator is born out of the need for an expression form of if-else. Some languages have if-else already implemented as an expression so they don't need a ternary operator.
Typescript exists to provide a static-typing discipline to javascript, if you don't care about this obviously you won't see the importance of typescript.
No comments yet.