Skip to content

Commit eec04a7

Browse files
Merge pull request ryanmcdermott#171 from travellingprog/patch-1
README.md: change 'peddle' to 'pedal'
2 parents 166d7d4 + dd791e9 commit eec04a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ The first thing to consider is consistent APIs.
819819
```javascript
820820
function travelToTexas(vehicle) {
821821
if (vehicle instanceof Bicycle) {
822-
vehicle.peddle(this.currentLocation, new Location('texas'));
822+
vehicle.pedal(this.currentLocation, new Location('texas'));
823823
} else if (vehicle instanceof Car) {
824824
vehicle.drive(this.currentLocation, new Location('texas'));
825825
}

0 commit comments

Comments
 (0)