aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ltable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltable.js b/src/ltable.js
index b609ad0..7551160 100644
--- a/src/ltable.js
+++ b/src/ltable.js
@@ -67,7 +67,7 @@ const mark_dead = function(t, hash) {
let e = t.strong.get(hash);
if (e) {
e.key.setdeadvalue();
- e.value = new lobject.TValue(CT.LUA_TNIL, null);
+ e.value = void 0;
let next = e.n;
let prev = e.p;
e.p = void 0; /* no need to know previous item any more */