Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd791e9

Browse files
README.md: change 'peddle' to 'pedal'
**Pedal** is the act of using bicycle pedals. *Peddle* means to travel around selling something. I think you meant the former. BTW, thanks for the great guide!
1 parent b436426 commit dd791e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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)