Skip to content

Commit 62806e0

Browse files
feat: Turtle.js.go ( Fixes #330 )
1 parent 1e3d82c commit 62806e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Types/Turtle.js/go.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
function go() {
2+
const parsedArgs = this.parse.call(this, ...arguments)
3+
let $this = this
4+
for (let parsed of parsedArgs) {
5+
let result = $this[parsed.method](...parsed.arguments)
6+
}
7+
}

0 commit comments

Comments
 (0)