3 ms·Let's hope you don't have a baz.by jafingi 12y agoLet's hope you don't have a baz.bigdubs 12y agoyou can torture the logic further: let x : Something = outer_conditional ? baz() : conditional ? foo() : bar()mikeash 12y agoI think this can look pretty nice, properly formatted: let x = conditional1 ? bar() : conditional2 ? baz() : conditional3 ? quux() : someDefault