In addition, some cars such as the Nissan Leaf have a feature that locks the brakes at full power when there is a sudden control shift from accelerator to brakes, meaning that if you stomp on the brakes and then reduce pressure, the car will continue to brake at maximum power. This was done for two reasons: one, people hesitating in emergency situations, and two, people being taught to pump brakes, which increases braking distance in cars with ABS.
I learned about this feature when reading car forums for my car and finding threads from people who were rear-ended when they accidentally triggered this feature by slamming on the brakes when they didn't intend to come to a complete stop.