let raceNumber = Math.floor(Math.random() * 1000);

let registeredEarly = true;

let runnerAge = 10;

(runnerAge>18 && registeredEarly) ? (raceNumber+=1000) : /*Do Nothing */;

Can someone help me to find out an error in the above line, looks ok to me?