summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-14 14:40:03 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-14 14:40:03 +0200
commitd0655525e3f08fd12b94152947d2cd6f5d47414a (patch)
tree80d0947e9bb55a6c2201afb4ff0b21cf47b3e4b7
parenta216955790084b0a23994ecda444a3e568000596 (diff)
downloadfengari-d0655525e3f08fd12b94152947d2cd6f5d47414a.tar.gz
fengari-d0655525e3f08fd12b94152947d2cd6f5d47414a.tar.bz2
fengari-d0655525e3f08fd12b94152947d2cd6f5d47414a.zip
If not initialized, is removed by babili
-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,