diff options
author | daurnimator <quae@daurnimator.com> | 2018-01-29 18:56:14 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-01-29 22:06:00 +1100 |
commit | 62b07567d9f39fa746ea35d9c08cd1dcf37dc67a (patch) | |
tree | d8e6b62675e5b027fa11c9a16782e4bfe50f064a /src/lobject.js | |
parent | 0836b4ce3f3c66e9268ebcd269b7451fb5700b32 (diff) | |
download | fengari-62b07567d9f39fa746ea35d9c08cd1dcf37dc67a.tar.gz fengari-62b07567d9f39fa746ea35d9c08cd1dcf37dc67a.tar.bz2 fengari-62b07567d9f39fa746ea35d9c08cd1dcf37dc67a.zip |
src/lobject.js: Consistently use null in a nil TValue
Diffstat (limited to 'src/lobject.js')
-rw-r--r-- | src/lobject.js | 2 |
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) { |