aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/defs.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/defs.js b/src/defs.js
index 05e0048..5886eba 100644
--- a/src/defs.js
+++ b/src/defs.js
@@ -2,12 +2,6 @@
const { LUAI_MAXSTACK } = require('./luaconf.js');
-// To avoid charCodeAt everywhere
-const char = [];
-for (let i = 0; i < 127; i++)
- char[String.fromCharCode(i)] = i;
-module.exports.char = char;
-
/* mark for precompiled code ('<esc>Lua') */
const LUA_SIGNATURE = "\x1bLua";