We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 166d7d4 + dd791e9 commit eec04a7Copy full SHA for eec04a7
README.md
@@ -819,7 +819,7 @@ The first thing to consider is consistent APIs.
819
```javascript
820
function travelToTexas(vehicle) {
821
if (vehicle instanceof Bicycle) {
822
- vehicle.peddle(this.currentLocation, new Location('texas'));
+ vehicle.pedal(this.currentLocation, new Location('texas'));
823
} else if (vehicle instanceof Car) {
824
vehicle.drive(this.currentLocation, new Location('texas'));
825
}
0 commit comments