shortcut for !== undefined in javascript code example Example: if shorthand typescript const answer = x > 10 ? "greater than 10" : "less than 10";