From 62b07567d9f39fa746ea35d9c08cd1dcf37dc67a Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 Jan 2018 18:56:14 +1100 Subject: src/lobject.js: Consistently use null in a nil TValue --- src/lobject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2