adds compound expression support, which allows expressions like: a = 1; b = a; c = a + b;
Note, however, that JSEP does not support further expressions (i.e. arr.map(v => { const x = 1; return x + 1; }), where const and return are unknown syntax to JSEP).
Multiple non-assignment expressions would not make much sense: a + 1; b + 2;, which would simply return the final result. Therefore, I'm thinking it likely makes the most sense only with assignment operations.
adds
compound
expression support, which allows expressions like:a = 1; b = a; c = a + b;
Note, however, that JSEP does not support further expressions (i.e.
arr.map(v => { const x = 1; return x + 1; })
, whereconst
andreturn
are unknown syntax to JSEP).Multiple non-assignment expressions would not make much sense:
a + 1; b + 2;
, which would simply return the final result. Therefore, I'm thinking it likely makes the most sense only with assignment operations.Fixes #49