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 4, 2023
1 parent 9e3f095 commit b40d6f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/makeRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ function makeRobot(name, wheels, version) {
y: 0,
},
get info() {
return 'name: ' + this.name + ', chip version: ' + this.version + ', wheels: ' + this.wheels;
return 'name: ' + this.name + ', chip version: '
+ this.version + ', wheels: ' + this.wheels;
},
get location() {
return this.name + ': x=' + this.coords.x + ', y=' + this.coords.y;
Expand Down

0 comments on commit b40d6f6

Please sign in to comment.