From fa7ce109418aca2fd60fdb65b4b2451c4854dd09 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 2 Feb 2017 07:36:14 +0100 Subject: Following Lua's source code as closely as possible --- src/lobject.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/lobject.js (limited to 'src/lobject.js') diff --git a/src/lobject.js b/src/lobject.js new file mode 100644 index 0000000..2e21f16 --- /dev/null +++ b/src/lobject.js @@ -0,0 +1,15 @@ +/*jshint esversion: 6 */ +"use strict"; + +class LClosure { + + constructor(L, n) { + this.p = []; + this.nupvalues = n; + } + +} + +module.exports = { + LClosure: LClosure +}; \ No newline at end of file -- cgit v1.2.3-54-g00ecf