summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lobject.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobject.js b/src/lobject.js
index 9834df7..34d8550 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -195,7 +195,7 @@ class TValue {
setnilvalue() {
this.type = LUA_TNIL;
- this.value = void 0;
+ this.value = null;
}
setfvalue(x) {