We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
paintCar
color
1 parent 20563d0 commit 3ff9ebaCopy full SHA for 3ff9eba
README.md
@@ -180,8 +180,8 @@ const Car = {
180
carColor: "Blue"
181
};
182
183
-function paintCar(car) {
184
- car.carColor = "Red";
+function paintCar(car, color) {
+ car.carColor = color;
185
}
186
```
187
@@ -194,8 +194,8 @@ const Car = {
194
color: "Blue"
195
196
197
198
- car.color = "Red";
+ car.color = color;
199
200
201
0 commit comments