function component(props) { // NOTE: the temporary for the leading space was previously dropped const x = isMenuShown ? {props.a ? props.b : props.c} : null; return x; }