FWD generally gets better traction because of the extra drivetrain mass over the drive wheels.
While a typical RWD car might have 50/50 or 55/45 front/rear weight distribution, your average FWD car is at least 60/40. Given equal vehicle weights, the FWD car will have more weight over the drive wheels, giving it more traction.
Of course, that's only on flat ground. As the vehicle climbs a slope, the weight distribution shifts rearwards, taking traction away from the front wheels and increasing traction at the rear. Same thing happens under acceleration, and why it's so silly to build drag racers from FWD cars (IMHO, of course

).