Commit 573a93dc authored by Stefanie Hasler's avatar Stefanie Hasler

tcr

parent c6794e4c
......@@ -4,8 +4,9 @@ class MarsRover {
x: number = 0
y: number = 0
dir: 'N' = 'N'
public pos() {
return '0,0,N'
return `${this.x},${this.y},${this.dir}`
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment