aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lobject.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lobject.js b/src/lobject.js
index fe23d24..f926e85 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -182,6 +182,7 @@ class TValue {
}
const luaO_nilobject = new TValue(CT.LUA_TNIL, null);
+Object.freeze(luaO_nilobject);
module.exports.luaO_nilobject = luaO_nilobject;
class LClosure {