aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ltable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltable.js b/src/ltable.js
index 7551160..a06e5d8 100644
--- a/src/ltable.js
+++ b/src/ltable.js
@@ -45,7 +45,7 @@ class Table {
const add = function(t, hash, key, value) {
t.dead_strong.clear();
t.dead_weak = void 0;
- let prev;
+ let prev = null;
let entry = {
key: key,
value: value,