Do nothing in the use of ternary operator

n = condition ? 1 : n is a way without if.

1 Like