Skip to content

Commit

Permalink
ADD:TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangnanscu committed Jul 15, 2024
1 parent 5b42815 commit 23f38b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lua2js.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import luaparse from "luaparse";
import prettier from "prettier/standalone.js";
import parserBabel from "prettier/parser-babel.js";

// todo: for _, v in ipairs(t) => for v of t , NOT for [_, v] of t.entries()
// TODO: for _, v in ipairs(t) => for v of t , NOT for [_, v] of t.entries()
// this.foo[this.foo+1]=x => this.foo.push(x)
// a..'1'..b => a + '1' + b (no parens)
const defaultOptions = {
printToConsoleLog: true,
tryUseOfLoop: true,
Expand Down

0 comments on commit 23f38b1

Please sign in to comment.