Skip to content

Commit

Permalink
Update makeRobot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
netzelnatalia authored Nov 3, 2023
1 parent ca9b88f commit a45b491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makeRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function makeRobot(name, wheels, version) {
}

return this;

},
goRight(steps = 1) {
if (steps > 0) {
Expand All @@ -86,7 +87,6 @@ function makeRobot(name, wheels, version) {
this.coords.x = 1400;
this.coords.y = 500;

return this;
},

};
Expand Down

0 comments on commit a45b491

Please sign in to comment.