SyntaxFix
Write A Post
Hire A Developer
Questions
Sure, you can do nested ternary operators but they are hard to read.
var variable = (condition) ? (true block) : ((condition2) ? (true block2) : (else block2))