From 4e54f8371f376125a9cfdac3015ae2e0c3e2db73 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 3 May 2017 19:44:00 +1000 Subject: src/lauxlib.js: buffer.b should be null or array, not a string --- src/lauxlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lauxlib.js b/src/lauxlib.js index c5e0d59..9c4b98d 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -11,8 +11,8 @@ const LUA_FILEHANDLE = lua.to_luastring("FILE*", true); class luaL_Buffer { constructor() { + this.b = null; this.L = null; - this.b = ""; } } -- cgit v1.2.3-70-g09d2