From af4c83ba92a0041a19473d786d5722b325cdfc14 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 Jan 2018 14:52:06 +1100 Subject: src/defs.js: Remove defs.char --- src/defs.js | 6 ------ 1 file changed, 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 ('Lua') */ const LUA_SIGNATURE = "\x1bLua"; -- cgit v1.2.3-70-g09d2