It's a capacitor if it is across the motor terminals (Scalextric and SCX) and it is a resistor if it is inline with one of the leads (Ninco).
Neither makes any difference to the running of the cars, but are there to reduce electrical interferance produced by the cars. They were introduced so that Scalextric cars could be run in the same room as a TV. Without them when the motor runs, it starts snowing on the tele.
McLaren
Neither makes any difference to the running of the cars, but are there to reduce electrical interferance produced by the cars. They were introduced so that Scalextric cars could be run in the same room as a TV. Without them when the motor runs, it starts snowing on the tele.
McLaren