block of code within shorthand if js code example Example: if shorthand typescript const answer = x > 10 ? "greater than 10" : "less than 10";