diff --git a/src/makeRobot.js b/src/makeRobot.js index 7de2dcae..19c9a2c7 100644 --- a/src/makeRobot.js +++ b/src/makeRobot.js @@ -67,6 +67,7 @@ function makeRobot(name, wheels, version) { } return this; + }, goRight(steps = 1) { if (steps > 0) { @@ -86,7 +87,6 @@ function makeRobot(name, wheels, version) { this.coords.x = 1400; this.coords.y = 500; - return this; }, };