Web Development Project Race

' unable to get the code to execute'

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

let early= true;

let age= 19;

if (early && age>18) {

raceNumber= +=1000;

}

}

if (early && age > 18) {

console.log(The race will begin at 9:30 and your race number is: ${raceNumber}.);

}

else if (!early && age >18) {

console.log(The race will begin at 11:00 and your race number is: ${raceNumber}.);

}

else if (age < 18) {

console.log(The race will begins at 12:30 and your race number is: ${raceNumber}.);

}

There are two assignments there: = and +=. Since you want to augment the number, use the second one.