diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-04 09:01:25 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-02-04 22:17:24 +0100 |
commit | 18b89ee8e1059a21f8d5e3a52c2e256b7dea79cb (patch) | |
tree | 3f215ba709174b057ea76b2a8b0fbb2f6ad850e5 /src/lfunc.js | |
parent | b618b835c74a8637e00ba1f4adf6b8884d360d43 (diff) | |
download | fengari-18b89ee8e1059a21f8d5e3a52c2e256b7dea79cb.tar.gz fengari-18b89ee8e1059a21f8d5e3a52c2e256b7dea79cb.tar.bz2 fengari-18b89ee8e1059a21f8d5e3a52c2e256b7dea79cb.zip |
CLOSURE, CALL
Diffstat (limited to 'src/lfunc.js')
-rw-r--r-- | src/lfunc.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/lfunc.js b/src/lfunc.js index faa0887..929dae8 100644 --- a/src/lfunc.js +++ b/src/lfunc.js @@ -21,7 +21,22 @@ class Proto { } +class UpVal { + + constructor() { + this.v = null; + this.u = { + open: { + next: null, + touched: false + }, + value: null + }; + } + +} module.exports = { - Proto: Proto + Proto: Proto, + UpVal: UpVal };
\ No newline at end of file |